How to auto-close and submit a form (without an User action)

Certified Senior Developer

Hello,

I would like to know how may I trigger a submit action to a form, without a manual User action please ?

(it could be in using a timer...  for example, submitting the form after 10 seconds)

I saw some related posts around Javascript, but is it possible to do this with Appian ?

Regards

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to cedric01

    I believe you can set it to use seconds, though it requires a workaround.  Set it to use the expression "now() + intervalds(0, 0, 10)" which translates to "10 seconds from now".

    But you should note that if this is a user-facing form where they would be submitting it or doing any other interaction, it will give the user an error after the expiration has fired.  That's why I recommend you use the approach I suggested above.