I am trying to validate two date fields on a custom expense report prior to allowing someone to sign the document digitally.

richardc7522135

23-01-2017

"WeekEnding" Date/Time Field

"Signature" Signature Field

"Date" Date/Time Field

I am inputting this into both the initialize and calculate fields for the Signature object:

If(WeekEnding.rawValue != null && Date.rawValue != null){

    this.access="open";

}else{

    this.access="readOnly";

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Mark_Lindberg

24-01-2017

I believe what you want to do is use the PreSign Event of the signature field to evaluate the data condition(s), and set a True/False return value.

Look at the event documentation in Designer Scripting Reference - If you set it one way, the signature will happen - the other way and it will be prevented.

Mark