Autofill value that can be changed
i pretty new pdf forms , things java , still having difficult time figuring out can , cannot accomplish in these forms...so thought ask question time...
what have value entered in 1 field (fromdept) auto-populated field (todept) still todept field able changed if user needs change it.
for form, these field same need different - user skip field if not changing prefer form complete (though don't want force completion of field - question).
i thought sort of custom validation script have not found fits needs in forums after lot of searching.
is can done relative ease or more complicated need on "nice have" list?
any appreciated.
thanks!
the custom validate script fromdept field simple as:
getfield("todept").value = event.value;
this set todept field value whenever fromdept value changes.
set todept value gets set if blank:
var f = getfield("todept");
if (!f.valueasstring) f.value = event.value;
this way, existing entry in todept won't overwritten if user goes , changes fromdept value.
More discussions in PDF Forms
adobe
Comments
Post a Comment