Extra Attributes make required field
-
Hi, I was wondering if it is possible to make a custom attribute required. I added the code to form.php
<label for="event_short_description"><?php _e('Short Description (Max 120 characters)','emefs'); ?> <small><?php _e('required','emefs'); ?></small></label><br /> <?php // EMEFS::attribute('short_desc'); ?> <input id="short_desc" name="event_attributes[short_desc]" value="" type="text" maxlength="120"> <?php EMEFS::error('short_desc'); ?>
which works except that the field is not being validated.
Thanks!
https://www.ads-software.com/plugins/events-made-easy-frontend-submit/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Extra Attributes make required field’ is closed to new replies.