gillespieza
Member
Posted 1 year ago #
I have a simple form using watermarks, but only some fields are required. However, I can't submit the form unless all fields are filled in?
This is form (well part of it - the rest is more or less the same):
[text* number-adults 1/1 watermark "Number of adults"]
[text* number-children 1/1 watermark "Number of children"]
[text number-veggies 1/1 watermark "Number of vegetarians"]
[textarea further-message watermark "Any further message?"]
The only way I can get the form to submit is to fill in all the fields - even if they are not marked required?
Could you tell us the URL of the form page?
gillespieza
Member
Posted 1 year ago #
http://www.piratewedding.co.za/rsvp
Here is the complete form code:
<div id="rsvp-form">
[text* name akismet:author watermark "Name*"]
[email* email akismet:author_email watermark "Email*"]
<label class="">[radio radio-599 id:aye-or-nay use_label_element "Aye, we'll be a-plundering with ye" "Aye, we like the cut o' yer jib" "Nay, yer port needs more wenches" "Nay, yer little rowboat aint seaworthy"]</label>
[text* number-adults 1/1 watermark "Number of adults"]
[text number-children 1/1 watermark "Number of children"]
[text number-veggies 1/1 watermark "Number of vegetarians"]
[textarea music watermark "Any particular music you'd like?"]
[textarea further-message watermark "Any further message?"]
<div id="querysubmitbutton">[submit class:button "Send"]</div>
</div>
gillespieza
Member
Posted 1 year ago #
I've just tested in it IE 8 - works fine in IE 8 and Firefox 3.6.16, but not in Google Chrome 10
I've tested this on my local environment with Chrome and seen the same trouble. It seems that this happens when you set both watermark and maxlength options, and the watermark text is longer than the maxlength value. I think you don't need maxlength option in most cases you use watermark, so why not just remove the maxlength option like this?
[text number-children 1/ watermark "Number of children"]
Or, set longer maxlength than the length of the value (watermark) like this:
[text number-children 1/20 watermark "Number of children"]
The options of text fields are described in this page.
http://contactform7.com/blog/2009/11/18/text-fields/