How do I make a field required based on the c’s State?

Created by Joshua Miller, Modified on Fri, 21 Mar at 11:09 AM by Joshua Miller

Step-by-step guide


  1. Click on Modules.
  2. Select the Module with the appropriate form field.
  3. Select the Forms tab.
  4. Select Field List button "Create/Update Fields".
  5. Use filter to find field that is intended to be made readonly.
  6. Select edit on the field.
  7. Select Custom JavaScript tab.
  8. Within the “init” section type


NOTE: the “Pending Dev ECM” can be change to any existing state as needed

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article