Show Captcha when click on save button

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

Show Captcha when click on save button

pouyan

My form is wizard view and has 7 pages, user may  save incompleted from anytime ,
How can I show captcha only when user click on save bitton

Here is my save button property

 <property as="xs:string" name="oxf.fr.detail.process.save-draft.legal.*" >
         save
         then send(uri="http://user:pass@localhost:9090/smartform/admin/public/FormWService/formSave",
                   method="post")
         then success-message("save-success")
         recover error-message("database-error")
  </property> 
Reply | Threaded
Open this post in threaded view
|

Re: Show Captcha when click on save button

Alessandro  Vernet
Administrator
Hi Pouyan,

The captcha wasn't really designed with the wizard use case in mind.
In the regular (non-wizard) mode, I think it makes sense to have the
captcha displayed right away at the bottom of the form. Users fill out
fields, and when they reach the end, naturally will see the captcha
before they see the save button.

For 4.9, we're working on a feature (linked below) to "force" users to
fill out the fields of one section before moving to the next. In that
mode, they will most likely have to go through all the screens before
they can save/submit the form, and thus in general it would make sense
to only show the captcha on the last screen.

But in your case, if users can save right away, why not show the
captcha right away, just above the save button? Isn't it a waste of
time for users to only show them the captcha after they hit save, if
we know they have to fill it out anyway? I imagine a user saying "they
why didn't you tell me to fill out the captcha before, rather than
tell me now that there is an error, and I need to fill it out?".

https://github.com/orbeon/orbeon-forms/issues/2066

Alex

On Tue, Jan 13, 2015 at 8:40 PM, pouyan <[hidden email]> wrote:

>
> My form is wizard view and has 7 pages, user may  save incompleted from
> anytime ,
> How can I show captcha only when user click on save bitton
>
> Here is my save button property
>
>  <property as="xs:string" name="oxf.fr.detail.process.save-draft.legal.*" >
>          save
>          then
> send(uri="http://user:pass@localhost:9090/smartform/admin/public/FormWService/formSave",
>                    method="post")
>          then success-message("save-success")
>          recover error-message("database-error")
>   </property>
>
> --
> View this message in context: http://discuss.orbeon.com/Show-Captcha-when-click-on-save-button-tp4659428.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.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].

--
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