Expand my Community achievements bar.

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

Avatar

Level 1

"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";

}

1 Reply

Avatar

Level 5

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