Posted: November 6, 2018 at 6:15 am
|
I am running: I want to include data-rokbox in my link tags link text so that I get link text . I intend to do this in either the description field or in the question field of a question. This will allow me to have a pop-up when the link text is clicked. The pop-up works in other parts of the site. It does not work within the registration forms. When one inspects the element, the data-rokbox is stripped out. Is there anything we can do about this? |
|
I am running: I want to include data-rokbox in my link tags
I intend to do this in either the description field or in the question field in the registration form. This will allow me to have a pop-up when “link text” is clicked. The pop-up works in other parts of the site. It does not work within the registration forms. When one inspects the element, the data-rokbox is not there. If you add it back into the code while inspecting element, the link actually activates a pop-up actually works. It works here https://incognitus.ph/ayala/#register. Click on the 1.2K Map It does not work when I set up a link inside the registration form so that a size chart pops-up. Is there anything we can do about this? |
Hi Raffy, Since you’re on a Multisite it might require you to be logged in as a Super Admin in order to add a custom attribute there. If you’re on a multisite and are logged in as a regular admin then some additional security filtering is used to help prevent admins from inputting invalid html into fields. |
|
|
I am logged in as Super Admin. Any other suggestion? |
Hi Raffy, Can you post a screenshot of how you are adding the class to the question please? I’ve just tested in on my site an had no issues. Question – http://take.ms/y3j8I Output – http://take.ms/jTucR What type of question are you using? |
|
|
I my notes work for you. |
|
I hope my notes work for you. |
Hi Raffy, I can’t replicate this issue on my multisite when I’m logged in as Super Admin. Here’s a screenshot of the form I tested, with the source: https://slack-files.com/T02SY781D-FDXND57QB-8922e1bc7b One thing you could do is try deactivating all other plugins and temporarily switch to another theme. There may be something filtering the shortcode output on your site. |
|
|
I’ll do the troubleshooting you suggested. Please note data-rokbox is not a value of an html attribute. It’s usage is is not class=”data-rokbox” or id=”data-rokbox” or label=”data-rokbox”. Its usage is |
Hi Raffy, Just to note, initially, I did think you were trying to add a class of For me the result is the same and |
|
|
Josh, Tony. Thanks for the replies. I’ll go through my troubleshooting again. I’ll update you with what I find. |
The support post ‘I need to put data-rokbox in link html removed when registration form renders’ 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.