I have a requirement where i need to disable buttons once the user submit the form. I tried using buttonaction rule input but its not working . Any suggestions?
Discussion posts and replies are publicly visible
Can you give us more details about your use case?
I general a form is closed after submit. There is the exception of a process model using a start form as a page in a site. Then the user will just see the empty form again.
Even after submitting the form, the submit buttons are enabled. It's getting disabled when there is no data but when the user edits any field it gets enabled again. But now the requirement is once it's submitted, it shouldn't provide users the ability to submit again.I tried with button action value with if condition but didn't worked
As I tried to explain, I do not understand your implementation. Do you have a few more details? Screenshot, code snippets?
if( ri!canSubmit, a!buttonWidgetSubmit( label: "Submit", style: "PRIMARY", value: cons!L_BUTTON_VAL_SUBMIT, saveInto: ri!buttonAction, disabled: if( isnull( ri!noData ), rule!SS_ER_isEmpty( ri!Items, ri!Value, ), false ), skipValidation: if( isnull( ri!noData ), false, true ) ), {} ),
OK. To make it more clear. The interfaces I build do close on submit. Yours seem to not do that. There must be a difference which I do not understand.
yes its giving user ability to submit again even after submitting
How is that done? A loop in the process model?