06-07-2017 04:25 PM
Is there a way to change the required setting for a field on a task on the fly using Javascript? I want to change the setting for field2 based on what was entered info field1.
06-07-2017 06:02 PM
Hi Gary,
It is possible to do that with javascript. If you have a field which is going to be conditionally mandatory, make sure that you keep it optional in your form model. Then at runtime modify it using java script. Please find attached a sample form model. You can import it via App Designer (Kick Start) -> Forms -> Import
Also, please note that if you are using for your end user application, these javascript logic needs to be applied in your ADF application
Cheers,
Ciju
06-07-2017 06:02 PM
Hi Gary,
It is possible to do that with javascript. If you have a field which is going to be conditionally mandatory, make sure that you keep it optional in your form model. Then at runtime modify it using java script. Please find attached a sample form model. You can import it via App Designer (Kick Start) -> Forms -> Import
Also, please note that if you are using for your end user application, these javascript logic needs to be applied in your ADF application
Cheers,
Ciju
06-07-2017 08:07 PM
It worked great! Thank you
Explore our Alfresco products with the links below. Use labels to filter content by product module.