Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Signature Scribble value MUST empty

Avatar

Former Community Member

Sig.png

Sample File [HERE]

I want to make the Signature Scribble field EMPTY once the client empties Printed Name or Date. By result Invisible and Disabled it does not remove the value; it hides and make the field invisible only, but once Printed Name and Date is not empty, the previous value shows in Signature.

The point of having Signature Scribble empty, is to avoid other client from using others client signature. I could just put RESET ALL FORM FIELDS, but I have to make specific fields go empty, and one is Signature.

ACTION #1:

Condition:

Printed Name is not empty; and

Date is not empty

Result:

Signature is visible

Signature is enabled

Set focus on Signature

ACTION #2:

Condition:

Printed Name is empty; or

Date is empty

Result:

Signature is invisible

Signature is disabled

Set the value of Signature to empty or null --> Missing. How to set or make a script or actions.

Thank you in anticipation of your positive response.

1 Reply

Avatar

Level 8

signaturefieldname.rawValue = "";