Add confirmation Dialog with 'close' and 'ok' button.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Add confirmation Dialog with 'close' and 'ok' button.

Jay Singh
Hi Guys,

I want open confirmation dialog box when click on orbeon buttons,
On the dialog box I need close and ok button, when I click on ok button the send URL will call.
how to open dialog box? and how call the send url when click on dialog ok button?


Thanks
Jay

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Add confirmation Dialog with 'close' and 'ok' button.

Alessandro  Vernet
Administrator
Hi Jay,

It sounds like the `confirm` action, as part of a process might do what
you're looking for (see 1st link below). And if you upon users choosing
"Yes" you want to navigate to a page, you can use the `navigate` action (see
2nd link below) instead of the `send` action mentioned in the examples.

https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner#confirm
https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner#navigate

You'll let me know if this works for you.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Add confirmation Dialog with 'close' and 'ok' button.

Alessandro  Vernet
Administrator
Hi Jay, did you get a chance to try using the `confirm` action? Is so, you'll
let me know if it is working for you, or if you had any trouble with it.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet