Posted: March 22, 2013 at 5:26 pm
|
In previous versions of Event Espresso I was able to add HTML into the Question box. In the current version I am using, I tried to add the following HTML to open a child window and display legal content. I am 21 years of age and have read and agreed to the release of liability waiver provided by Get Off Auto, LLC The current version will not let me enter this information and consistently truncates the HTML. Is there a reason why I can no longer do this? If so, is there another option to provide this functionality? |
|
I realized that I forgot to expose the code snippet from the above link. Re-posting with the actual html that was used in the Question box. I am 21 years of age and have |
|
Interesting, the behavior that I am having was just replicated above when I entered the html code snippet. The post actually truncated the code snippet exactly as it is doing on my site. I am talking out the read and agreed to the release of liability waiver provided by Get Off Auto, LLC` |
|
That did not work either.. |
|
Hi, In recent versions we have tightened up the security aspects. As such a lot of the fields are being stripped of HTML and other code. However, I had no issue in adding that code and editing, saving and publishing that question. This was on 3.1.30.7, what version are you using? |
|
I am having the same problem, using Version 3.1.30.7P |
|
I am also using 3.1.30.7P. I tried to update the text box again, and it truncated the post exactly like the what is displayed on the post above on the 23rd at 3:21PM.. |
|
Can one of you send me login details please as I really can’t recreate this on the latest version. If so, please send them via https://eventespresso.com/send-login-details/ NOTE: login details need to be Admin level. |
|
I sent login details for two sites. The Get Off Auto site has the question with the HTML code in the question box that works and is not truncated when saved. The Cork and Click site has the issue when I tried to create the same question and use the same HTML but it gets truncated. The only difference is that the Get Off Auto question was created on an earlier version of Event Espresso and I have not tried to update it. |
|
The problem is not the html, it is the javascript that you are trying to put into the question. You have several options: |
|
As I mentioned previously, I am running into the same issue. It can be seen here at the bottom of the page where the registrant accepts the terms and conditions [http://floridastarsac.com/event-registration/?ee=1] |
|
@dberger: yours looks like a completely different issue. bchilders site is not having a problem displaying html in the question, only in saving javascript into the question. When I look at the html being generated by your site in the question, it looks like |
|
This is what I entered:
|
|
There is probably another plugin or the theme which is taking the WordPress “the content” and running it through a routine to convert any html entities. As you can see here: http://eetesting.info/EE_branch/event-registration/?ee=341, the html you pasted above works without problem. |
|
Thanks Sidney. Appreciate the feedback and tips for resolving the issue. |
|
This issue occurred when I did the latest update of the EE plugin. But, I will try to troubleshoot it based on your suggestion. Thanks! |
|
@dberger – are you adding the HTML to the question title or the value? Right now only the question title will accept HTML. |
The support post ‘Using HTML in Questions Box’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.