Support

Home Forums Event Espresso Premium Hidden forms fields getting inserted into paragraphs ?

Hidden forms fields getting inserted into paragraphs ?

Posted: July 20, 2018 at 4:53 am


jmstovall

July 20, 2018 at 4:53 am

Good morning:

We are building out an event at http://csaz.staging.wpengine.com/events/leaders-legends-2018. If you select one of the tickets options and click “Register Now”, you are taken to the checkout page, as expected. However, as shown in this screenshot, there is a significant gap between the final field and the “Proceed to Payment Options” screen: http://take.ms/obexW.

Inspecting the page indicates some of the hidden form fields are getting inserted in <p>s and pushing the button down.

Can someone take a look and see if you can give us some direction on closing that gap?

Thanks very much!

Best,
Jeff


Tony

  • Support Staff

July 20, 2018 at 9:26 am

Hi Jeff,

Usually, that happens when either the theme or another plugin is running wpautop on the content filters, so then any new line get wrapped in P tags.

The P tags aren’t just being added around the hidden elements, they are everywhere.

If you test the site using a different theme, does the same happen there? You can do that using the Theme Test Drive plugin without affecting your normal users.


jmstovall

July 20, 2018 at 12:02 pm

Thanks, Tony. Using Theme Test Drive TwentySeventeen, it looks like it does work better: http://take.ms/nRMr0.

Any idea how to counter that?

Thank you for your help!


Tony

  • Support Staff

July 20, 2018 at 1:40 pm

Is this a custom theme or one that you have purchased from a theme store?

You’ll need to check for anything that is filtering the_content and checkout what functions are being applied, as mentioned above its most likely wpautop() but I’d need to see the code to know more.

Can you send me a copy of the theme to take a quick look? If so you can send a copy to support[at]eventespresso.com.


jmstovall

July 30, 2018 at 7:09 am

Hey Tony, wanted to follow up here. Sent that copy of the theme. Any updates? Thank you!


Tony

  • Support Staff

July 30, 2018 at 2:49 pm

Hi Jeff,

I’m sorry, but I just double checked and we’ve not had an email from you. I searched by name and the email address linked to your license but there are no recent emails.

Did you include the theme within the email itself? If so it may have been rejected.

Can you host the .zip file for the theme somewhere and just include a link we can use to download it within the email, please?

Some users prefer to use Dropbox or WeTransfer to send the files.

The support post ‘Hidden forms fields getting inserted into paragraphs ?’ 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.

Event Espresso