Re: html5 input in a form "required"
Re: html5 input in a form "required"
- Subject: Re: html5 input in a form "required"
- From: John Pollard <email@hidden>
- Date: Thu, 18 Apr 2013 16:31:23 +0100
I should have said, when I do this:
<wo:WOTextField value="$organisation.telephone" id="telephoneField" data-theme="e" required/>
the generated HTML comes out as required="e", apparently picking up the last parameter that did have a value.
On 18 Apr 2013, at 16:23, John Pollard <email@hidden> wrote:
> Can WOTextField or something similar handle the "required" in:
>
> <input type="text" name="usrname" required>
>
> i.e. telling the browser that a field is required, it has not value assigned to it
>
> I couldn't see a Wonder way for this.
> Many thanks
> John
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden