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.
Solved! Go to Solution.
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
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
It worked great! Thank you
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.