Expand my Community achievements bar.

Required Fields with a Signature Field

Avatar

Former Community Member

This has probably been answered more times and its probably something I am missing.

I want to have fields required when the Signature field is selected. So it cannot be signed unless these fields are filled in.

Tried using this script with just about all the Script Editor options, also with having the fields required under Object, Value Tab, Type.  No luck

I have this script:

if

(TextField.rawValue != null)

else {

app.alert("Please make sure this field is filled out

, 1);

// Change the color of the fillable area of the text field.

xfa.resolveNode("ProductSerialNumber.ui.#textEdit.border.edge").stroke

= "solid";

xfa.resolveNode("ProductSerialNumber.ui.#textEdit.border.fill.color").value

= "255,255,170";

}

Also have dropdown fields that I would like to have be required. If any one could help that would be great.

I did not write the script that way, it just copied in there funny.

Thank You

0 Replies