Skip navigation
Currently Being Moderated

Check State of Signature Field

Jul 20, 2012 9:31 AM

Tags: #form #livecyle_designer #signature_state #signature_status

I have a multipage form with 18 differant signature fields. I need to initialize the form with Page 1 hidden and then after signing a certain field, that page becomes visible. My code is as follows:

 

PostSign for field form1.RCP_Form_Page1.Block_28.Suppliers_Signature is:

form1.ProcurementLetter_Page1.presence = "visible"

Initialize on field form1.ProcurementLetter_Page1 is:

if (form1.RCP_Form_Page1.Block_28.Suppliers_Signature == null) then

     form1.ProcurementLetter_Page1.presence = "hidden"

endif

 

The above code works until you close and reopen the form. When reopening, it defaults back a null condition because null in this case doesn't work. I have even tried adding ".rawValue" at the end of "Suppliers_Signature" and that doesn't resolve it.

 

I think the root question is, how do I test the if statement to show a true condition of whether or not the signature field is signed?

 

Thanks for all that reply!

 

Mallard27

 
Replies
  • Currently Being Moderated
    Jul 22, 2012 1:21 PM   in reply to Mallard27

    Hi,

     

    If you have a look at the example here, it should give you a direction on the script: http://assure.ly/m8mN0m.

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 12:33 PM   in reply to Mallard27

    Hi,

     

    You could also try the docReady event, which is the last event to fire as the page renders. This may be better than the initialize event.

     

    Good luck,

     

    Niall

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points