Events Made Easy › Forums › Bug fixed or feature request implemented › Form Field – required not working
- This topic has 11 replies, 3 voices, and was last updated 12 years, 8 months ago by
Franky.
-
AuthorPosts
-
Tue 8 Jan 2013 at 11:09 #43887
Anonymous
InactiveI have added an extra Form Field, as a text type.
If I in the form makes that field required (#REQ_FIELD1), it gives me an error, telling me to put some info in the field, no matter what I write in the field.
Am I doing something wrong?
Tue 8 Jan 2013 at 12:09 #50076Franky
KeymasterLet me check/test that this evening. It should work like you mentioned it.
Tue 8 Jan 2013 at 19:16 #50077Franky
KeymasterI can’t reproduce this error here. It works as expected …
Wed 9 Jan 2013 at 07:36 #50078Franky
Keymasterbtw: can it be that you activated the captcha option but did nnt inlude the captcha placeholders needed?
Fri 11 Jan 2013 at 14:05 #50079Anonymous
InactiveSorry, my mistake.
I have now found out that it is the telephone number field that makes the error.
This isn’t working if I make it required.
Sat 12 Jan 2013 at 10:48 #50080Franky
KeymasterConfirmed as a bug and fixed here: http://plugins.trac.wordpress.org/changeset/651613
Sat 12 Jan 2013 at 14:48 #50081Anonymous
InactiveThank you!
Mon 25 Mar 2013 at 18:09 #50082Anonymous
InactiveHi – I just tried to add the #REQ to a field that changes the form to state that it is a required field. However I have a drop down field, and if I don’t select an option it still takes the rsvp. Thoughts?
<table class=’eme-rsvp-form’>
<tr><th scope=’row’>Name*:</th><td>#REQ_NAME</td></tr>
<tr><th scope=’row’>E-Mail*:</th><td>#REQ_EMAIL</td></tr>
<tr><th scope=’row’>Phone number:</th><td>#REQ_PHONE</td></tr>
<tr><th scope=’row’>Seats*:</th><td>#REQ_SEATS</td></tr>
<tr><th scope=’row’>Entree Choice 1*:</th>
<td>#REQ_FIELD1</td></tr>
<tr><th scope=’row’>Entree Choice 2*:</th>
<td>#REQ_FIELD5</td></tr>
<tr><th scope=’row’>Comment:</th><td>#_COMMENT</td></tr>
#_CAPTCHAHTML[<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>]
</table>
#_SUBMIT
Mon 25 Mar 2013 at 18:45 #50083Anonymous
InactiveHi – I just tried to add the #REQ to a field that changes the form to state that it is a required field. However I have a drop down field, and if I don’t select an option it still takes the rsvp. Thoughts?
<table class=’eme-rsvp-form’>
<tr><th scope=’row’>Name*:</th><td>#REQ_NAME</td></tr>
<tr><th scope=’row’>E-Mail*:</th><td>#REQ_EMAIL</td></tr>
<tr><th scope=’row’>Phone number:</th><td>#REQ_PHONE</td></tr>
<tr><th scope=’row’>Seats*:</th><td>#REQ_SEATS</td></tr>
<tr><th scope=’row’>Entree Choice 1*:</th>
<td>#REQ_FIELD1</td></tr>
<tr><th scope=’row’>Entree Choice 2*:</th>
<td>#REQ_FIELD5</td></tr>
<tr><th scope=’row’>Comment:</th><td>#_COMMENT</td></tr>
#_CAPTCHAHTML[<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>]
</table>
#_SUBMIT
Mon 25 Mar 2013 at 23:14 #50084Franky
KeymasterJust tried it here: works fine. How did you define your dropdown values?
Mon 1 Apr 2013 at 15:36 #50085Anonymous
InactiveSelect Below||Lemon Herb Chicken||Swiss Steak ||Lasagna||Eggplant Parmesean
Mon 1 Apr 2013 at 15:53 #50086Franky
Keymaster“Select Below” is a valid value as far as EME is concerned …
Try this:
||Lemon Herb Chicken||Swiss Steak ||Lasagna||Eggplant Parmesean -
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.