Just started using eForm and have hit a problem with my form being wrapped in <pre> tags. This seems to be coming from eForm as there are no <pre> tags in the templates. Anyone know how to overcome this?
Thanks,
Mike
What is your snippet call?
That looks good...
- Check that your html form, in chunk "WebContactForm", have the same <form id="ContactForm">
- Are you using the PHx plugin?
Then use placeholder like this: &subject=`((subject))`
- Make sure there is not double PHP end tags "?>" in the snippet.
// You should remove your e-mail address above, or bots will find it.
I’ve checked that out - the form id is correct and the php start and end tags are ok. I’m not using the Phx plug-in - should I be?
The same thing happens if I use the example contact form template.
Mike
I’ve cracked it - my fault! I was viewing the container with the snippet call whilst TinyMCE was active and that was hiding the <pre> tags!! I think TinyMCE must also have inserted the tags at some point.
Thanks for your help.
Mike
Aha!
You should click "
Modify" on the first post and change the subject title
to:
[SOLVED] eForm wrapped in <pre> tag?
That would help others who search the forums!
Ok - Done that - thanks again for your help.
mike