We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Copy link to clipboard
Field name: group1, group2
group1 = 200 if group2 is more than zero if not leave blank
How do i write this script please?
As validation script of "group2" field use this code:
this.getField("group1").value = event.value > 0 ? 200 : "";
A general tip: For calculations it's better to use the Calculate event of the target field, unless there's a good reason not to do so.