W3C home > Mailing lists > Public > www-forms@w3.org > June 2005

Re: yes/no confirmation.

From: Mikko Honkala <honkkis@tml.hut.fi>
Date: Wed, 22 Jun 2005 14:37:05 +0300
Message-ID: <42B94D61.9080401@tml.hut.fi>
To: www-forms@w3.org


with XForms 1.0 you can always create a switch, containing two cases, 
the dialog and an empty case. Then the Yes trigger will do the 
submission and the No trigger will toggle the empty case. You can style 
the case with CSS to look like an dialog.


PS. In XForms 1.1 working draft, form controls may be supported within 
message. Then you could do the same thing with a message. This feature 
is already supported in some implementations.

Alexander Anokhin wrote:
> Hello, all
> What is the simplest way to make yes/no confirmation (like prompt in JS) 
> on XForms before some action (send or smth.)? It seems too complex with 
> modal xf:message...
Received on Wednesday, 22 June 2005 11:36:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:15 UTC