Hi all, In my form, I have a submission and I want to warn the user
if something they’ve entered doesn’t match. Once they click the
submit button, I am currently dispatching an event to show them the “x
doesn’t match y” message via xforms:message and then proceeding
with the submission. I’d like to give them the option to cancel the submission
once they see the warning, but I need to use popup windows (like javascript
confirm) rather than the switch statements I’ve seen on the orbeon site.
Does anyone know how I could do this? I can’t really use validation
because sometimes it is OK that they don’t match so we don’t want
to stop the submission always, but we want the user to be aware of the mismatch.
Thanks, Stephanie -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Also, is it possible to change
the title on xforms:message? I’d like to put “Warning” there instead… From: Stephanie Hall (TT)
[mailto:[hidden email]] Hi all, In my form, I have a submission and I want to warn the user
if something they’ve entered doesn’t match. Once they click the submit
button, I am currently dispatching an event to show them the “x doesn’t match
y” message via xforms:message and then proceeding with the submission. I’d like to give them the option to cancel the submission
once they see the warning, but I need to use popup windows (like javascript
confirm) rather than the switch statements I’ve seen on the orbeon site.
Does anyone know how I could do this? I can’t really use validation
because sometimes it is OK that they don’t match so we don’t want to stop the
submission always, but we want the user to be aware of the mismatch. Thanks, Stephanie -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Stephanie Hall (TT)
Stephanie,
For this, I would use the "alert dialog" component: http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/alert-dialog In essence, you show the dialog when users hit "send", and if then users say "yes", you run the xforms:submit, and if they say "no", you do nothing. Alex On Tue, May 18, 2010 at 12:39 PM, Stephanie Hall (TT) <[hidden email]> wrote: > Hi all, > > > > In my form, I have a submission and I want to warn the user if something > they’ve entered doesn’t match. Once they click the submit button, I am > currently dispatching an event to show them the “x doesn’t match y” message > via xforms:message and then proceeding with the submission. > > > > I’d like to give them the option to cancel the submission once they see the > warning, but I need to use popup windows (like javascript confirm) rather > than the switch statements I’ve seen on the orbeon site. Does anyone know > how I could do this? I can’t really use validation because sometimes it is > OK that they don’t match so we don’t want to stop the submission always, but > we want the user to be aware of the mismatch. > > > > Thanks, > > Stephanie > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by Stephanie Hall (TT)
Stephanie,
At this point you can't. We have plans to handle i18n consistently across Orbeon Forms (built-ins, XBL components, third-party components, Form Runner, applications), but at this point you can't change this message. But as mentioned earlier, it looks to me that what you really want to use here is the alert dialog control. Alex On Tue, May 18, 2010 at 12:52 PM, Stephanie Hall (TT) <[hidden email]> wrote: > Also, is it possible to change the title on xforms:message? I’d like to put > “Warning” there instead… > > > > From: Stephanie Hall (TT) [mailto:[hidden email]] > Sent: Tuesday, May 18, 2010 2:40 PM > To: [hidden email] > Subject: [ops-users] Confirmation on xforms:message? > > > > Hi all, > > > > In my form, I have a submission and I want to warn the user if something > they’ve entered doesn’t match. Once they click the submit button, I am > currently dispatching an event to show them the “x doesn’t match y” message > via xforms:message and then proceeding with the submission. > > > > I’d like to give them the option to cancel the submission once they see the > warning, but I need to use popup windows (like javascript confirm) rather > than the switch statements I’ve seen on the orbeon site. Does anyone know > how I could do this? I can’t really use validation because sometimes it is > OK that they don’t match so we don’t want to stop the submission always, but > we want the user to be aware of the mismatch. > > > > Thanks, > > Stephanie > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Alessandro Vernet
Hi Alex,
That looks to be exactly what I need! Thanks! Stephanie -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Tuesday, May 18, 2010 9:52 PM To: [hidden email] Subject: [ops-users] Re: Confirmation on xforms:message? Stephanie, For this, I would use the "alert dialog" component: http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/alert-dialog In essence, you show the dialog when users hit "send", and if then users say "yes", you run the xforms:submit, and if they say "no", you do nothing. Alex On Tue, May 18, 2010 at 12:39 PM, Stephanie Hall (TT) <[hidden email]> wrote: > Hi all, > > > > In my form, I have a submission and I want to warn the user if > something they've entered doesn't match. Once they click the submit > button, I am currently dispatching an event to show them the "x > doesn't match y" message via xforms:message and then proceeding with the submission. > > > > I'd like to give them the option to cancel the submission once they > see the warning, but I need to use popup windows (like javascript > confirm) rather than the switch statements I've seen on the orbeon > site. Does anyone know how I could do this? I can't really use > validation because sometimes it is OK that they don't match so we > don't want to stop the submission always, but we want the user to be aware of the mismatch. > > > > Thanks, > > Stephanie > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Alex,
I'm trying to use the dialog the way it shows in the example you linked to, but I keep getting: "Invalid action: {http://www.w3.org/2002/xforms}alert-dialog" when I hit save I've included xmlns:fr="http://orbeon.org/oxf/xml/form-runner" in my <head> and am running Orbeon Forms dev-post-3.7.1.201003230300 in a separate deployment. The code is nearly exactly like in the example, so I'm not sure what I'm doing wrong. Thanks, Stephanie -----Original Message----- From: Stephanie Hall (TT) [mailto:[hidden email]] Sent: Wednesday, May 19, 2010 8:50 AM To: [hidden email] Subject: [ops-users] RE: Re: Confirmation on xforms:message? Hi Alex, That looks to be exactly what I need! Thanks! Stephanie -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Tuesday, May 18, 2010 9:52 PM To: [hidden email] Subject: [ops-users] Re: Confirmation on xforms:message? Stephanie, For this, I would use the "alert dialog" component: http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/alert-dialog In essence, you show the dialog when users hit "send", and if then users say "yes", you run the xforms:submit, and if they say "no", you do nothing. Alex On Tue, May 18, 2010 at 12:39 PM, Stephanie Hall (TT) <[hidden email]> wrote: > Hi all, > > > > In my form, I have a submission and I want to warn the user if > something they've entered doesn't match. Once they click the submit > button, I am currently dispatching an event to show them the "x > doesn't match y" message via xforms:message and then proceeding with the submission. > > > > I'd like to give them the option to cancel the submission once they > see the warning, but I need to use popup windows (like javascript > confirm) rather than the switch statements I've seen on the orbeon > site. Does anyone know how I could do this? I can't really use > validation because sometimes it is OK that they don't match so we > don't want to stop the submission always, but we want the user to be aware of the mismatch. > > > > Thanks, > > Stephanie > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Please disregard, I had forgotten to remove something I was trying to test out.
-----Original Message----- From: Stephanie Hall (TT) [mailto:[hidden email]] Sent: Wednesday, May 19, 2010 10:10 AM To: [hidden email] Subject: [ops-users] RE: RE: Re: Confirmation on xforms:message? Hi Alex, I'm trying to use the dialog the way it shows in the example you linked to, but I keep getting: "Invalid action: {http://www.w3.org/2002/xforms}alert-dialog" when I hit save I've included xmlns:fr="http://orbeon.org/oxf/xml/form-runner" in my <head> and am running Orbeon Forms dev-post-3.7.1.201003230300 in a separate deployment. The code is nearly exactly like in the example, so I'm not sure what I'm doing wrong. Thanks, Stephanie -----Original Message----- From: Stephanie Hall (TT) [mailto:[hidden email]] Sent: Wednesday, May 19, 2010 8:50 AM To: [hidden email] Subject: [ops-users] RE: Re: Confirmation on xforms:message? Hi Alex, That looks to be exactly what I need! Thanks! Stephanie -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Tuesday, May 18, 2010 9:52 PM To: [hidden email] Subject: [ops-users] Re: Confirmation on xforms:message? Stephanie, For this, I would use the "alert dialog" component: http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/alert-dialog In essence, you show the dialog when users hit "send", and if then users say "yes", you run the xforms:submit, and if they say "no", you do nothing. Alex On Tue, May 18, 2010 at 12:39 PM, Stephanie Hall (TT) <[hidden email]> wrote: > Hi all, > > > > In my form, I have a submission and I want to warn the user if > something they've entered doesn't match. Once they click the submit > button, I am currently dispatching an event to show them the "x > doesn't match y" message via xforms:message and then proceeding with the submission. > > > > I'd like to give them the option to cancel the submission once they > see the warning, but I need to use popup windows (like javascript > confirm) rather than the switch statements I've seen on the orbeon > site. Does anyone know how I could do this? I can't really use > validation because sometimes it is OK that they don't match so we > don't want to stop the submission always, but we want the user to be aware of the mismatch. > > > > Thanks, > > Stephanie > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Stephanie,
Excellent, I am glad the alert dialog worked for you. Alex On Wed, May 19, 2010 at 9:01 AM, Stephanie Hall (TT) <[hidden email]> wrote: > Please disregard, I had forgotten to remove something I was trying to test out. > > -----Original Message----- > From: Stephanie Hall (TT) [mailto:[hidden email]] > Sent: Wednesday, May 19, 2010 10:10 AM > To: [hidden email] > Subject: [ops-users] RE: RE: Re: Confirmation on xforms:message? > > Hi Alex, > > I'm trying to use the dialog the way it shows in the example you linked to, but I keep getting: > > "Invalid action: {http://www.w3.org/2002/xforms}alert-dialog" when I hit save > > I've included xmlns:fr="http://orbeon.org/oxf/xml/form-runner" in my <head> and am running Orbeon Forms dev-post-3.7.1.201003230300 in a separate deployment. The code is nearly exactly like in the example, so I'm not sure what I'm doing wrong. > > Thanks, > Stephanie > > -----Original Message----- > From: Stephanie Hall (TT) [mailto:[hidden email]] > Sent: Wednesday, May 19, 2010 8:50 AM > To: [hidden email] > Subject: [ops-users] RE: Re: Confirmation on xforms:message? > > Hi Alex, > > That looks to be exactly what I need! Thanks! > > Stephanie > > -----Original Message----- > From: Alessandro Vernet [mailto:[hidden email]] > Sent: Tuesday, May 18, 2010 9:52 PM > To: [hidden email] > Subject: [ops-users] Re: Confirmation on xforms:message? > > Stephanie, > > For this, I would use the "alert dialog" component: > > http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/alert-dialog > > In essence, you show the dialog when users hit "send", and if then users say "yes", you run the xforms:submit, and if they say "no", you do nothing. > > Alex > > On Tue, May 18, 2010 at 12:39 PM, Stephanie Hall (TT) <[hidden email]> wrote: >> Hi all, >> >> >> >> In my form, I have a submission and I want to warn the user if >> something they've entered doesn't match. Once they click the submit >> button, I am currently dispatching an event to show them the "x >> doesn't match y" message via xforms:message and then proceeding with the submission. >> >> >> >> I'd like to give them the option to cancel the submission once they >> see the warning, but I need to use popup windows (like javascript >> confirm) rather than the switch statements I've seen on the orbeon >> site. Does anyone know how I could do this? I can't really use >> validation because sometimes it is OK that they don't match so we >> don't want to stop the submission always, but we want the user to be aware of the mismatch. >> >> >> >> Thanks, >> >> Stephanie >> >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |