Access to send response action result

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

Access to send response action result

jrabasilio
Hello,

A have a send button in my form, and a need display the response result in
form

It is possible,  or I need to redirect to another page

Thanks.

--
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].
Reply | Threaded
Open this post in threaded view
|

Re: Access to send response action result

Alessandro  Vernet
Administrator
The "confirmation page" you get after submitting a form is often done outside
of Orbeon Forms. I.e. on submit, you run a process, you define to use the
`navigate()` action to take the user to a page you created, and live outside
of Orbeon Forms. Would something along those lines make sense in your
situation?

https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/
https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner.html

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: Access to send response action result

jrabasilio

hey Alex,


Thanks for your time, in my case a have a send action

then send(
        uri = "http/example/create",
        method = "POST",
        content = "xml"
        )


My service "create" return a value, and a need that value be print in
sucess-message
then success-message(value)

thanks João

--
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].
Reply | Threaded
Open this post in threaded view
|

Re: Access to send response action result

Alessandro  Vernet
Administrator
Hi João,

Is this for a "save" or "submit" button? I am asking as `success-message()`
shows a message at the bottom of the form, and users can continue to edit
the data, which makes it more appropriate for a "Save". If you have a
"Submit", you might want to have the service you call with `send()` return a
full web page, and use `replace="all"` in the `send()`, so what your service
returns is returned to the browser by Orbeon Forms. Would this work for you?

https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner-send.html

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