Hi,
I have a form with approvals. how can i disable button base on the field in the form.
example.
In the form.
I have three approvals.
if all is approved, i want the submit button to be disabled even if someone change the values or otherwise, disabled all the fields of the form afther the submission of the third dropdown.
Thank
You'll need to use jQuery, but what's the purpose of disabling form submit after the fields are approved? Nothing will be saved, not even the approved status of the dropdowns.
Yes you are right. what i am thinking now is to make the fields as read only instead of the submit button disable.so here is the scenarion.
Section 1 of the form is created by the inspector with approvals from manager and director.
once manager and director approved the form. Section 2 will be visible. however, i want the section 1 fields to be read only or disabled one manger and director approved the section 1. In this case, inspector can no longer change the values of the fields in section 1. same scenario until section 3. Section 3 has a final dropdown that the form has been closed. once the form has been closed, i want to make all the fields to be read only or disabled. i hope i make my scenario clear. Thanks.
You can use frm_setup_edit_fields_vars to set fields to read-only based on data in the form. Use this example and skip the part about "admin" https://formidableforms.com/knowledgebase/frm_setup_edit_fields_vars/#kb-set-fields-to-read-only-when-editing
Please login or Register to submit your answer