Process scripts in adf

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 06:54 AM
Hello,
I have some forms wiht scripts working well in the process, but this scripts don´t work in ADF, I don´t know the resasson.
Can someone help me?
Thanks for your help!
J.Carlos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 12:38 PM
Hi @Juancarlos_gp,
Can you provide more detail please? Are there log files, error messages, etc? Without such information it's hard to know how to assist you.
Regards,
Problem solved? Click Accept as Solution!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 05:03 AM
Hi @EddieMay
Thanks for your quit answer,
I using the following script in the process:
formFieldValueChanged:
var conditionalfield = scope.findFormFieldWithId(scope.allFormFields, 'conditionalmandatory')
if(field.value.id === 'optional'){
conditionalfield.required = false
}
else if(field.value.id === 'mandatory'){
conditionalfield.required = true
}
}
var conditionalfield = scope.findFormFieldWithId(scope.allFormFields, 'conditionalmandatory')
if(dropdownfield.value.id === 'optional'){
conditionalfield.required = false
}
else if(dropdownfield.value.id === 'mandatory'){
conditionalfield.required = true
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2020 12:01 PM
The old AngularJS scripts are not supported by ADF and Angular.
