W3C home > Mailing lists > Public > www-forms@w3.org > February 2009

Re: warning if a required field is left empty

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Wed, 4 Feb 2009 21:56:50 +0000
Message-ID: <ed77aa9f0902041356y6cecc5f1h1da0d3df8ad1eeff@mail.gmail.com>
To: Jabba Laci <jabba.laci@gmail.com>
Cc: xforms <www-forms@w3.org>

Hi Laszlo,

Easiest thing is to add an xf:message handler on the
"xforms-submit-error" event.

Regards,

Mark

On Wed, Feb 4, 2009 at 9:39 PM, Jabba Laci <jabba.laci@gmail.com> wrote:
>
> Hi,
>
> I have an xform with several required fields. If the user leaves one
> of them blank and presses the submit button, nothing happens. How
> could I add a warning message saying "You didn't fill all the required
> fields." ? I don't want to detail which fields are missing, I just
> want a general warning.
>
> Thanks,
>
> Laszlo
>
>



-- 
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Wednesday, 4 February 2009 21:57:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:15 GMT