JayGee Posted September 18 Share Posted September 18 12 hours ago, FireWire said: @JayGee The module expects Method C so your markup should look something like this: <?php $htmxForm = $htmxForms->render('your_form_field'); echo $htmxForm->styles; echo $htmxForm->scripts; echo $htmxForm; The module only swaps what's inside the form markup and shouldn't have any conflicts with scripts or styles. Option C has been the best option for me because I can add the styles and scripts once on the page wherever I want them rather than directly where forms are rendered. I throw the CSS file up in the <head> element and the scripts at the bottom near the closing <body> tag with my others. Ah ok perfect thanks - that explains it - I still need to add the form styles. 😎 Thanks for the module and keep up the good work! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now