Support

Home Forums Event Espresso Premium Maximum length answer question

Maximum length answer question

Posted: July 17, 2013 at 4:04 am


Rikkert Heydendael

July 17, 2013 at 4:04 am

Hi,

I want to set a maximum of characters in an answer on one of my questions in my event form, is this possible and how?
THanks!

Rikkert


Dean

July 17, 2013 at 4:27 am

Hello Rikkert,

This isn’t possible by default you would be best using some jQuery to limit the character length, something like:

jQuery(‘input[name=fname]’).attr(‘maxlength’,5);

Which just adds the maxlength attribute to a particular field name (in this case the first name input field).

You would need to add that into the page template (at the bottom wrapped in tags) or via a separate javascript file.

The support post ‘Maximum length answer question’ 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