Skip to main content
Known Participant
October 16, 2020
Question

Digital signature

  • October 16, 2020
  • 1 reply
  • 481 views

I am trying to get my document to save as a new name once signed or even put that information on signature once signed.  I used the above script like this:

var currentTime = new Date()

    var month = currentTime.getMonth() + 1

    var day = currentTime.getDate()

    var year = currentTime.getFullYear()

    var signingTime = month +"/"+day+"/"+year  //

 

    var f = this.getField("SOP No+Version No");  //

 

    f.value = signingTime;

I could not get it to work????

 

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
October 16, 2020

Where does you the script?

Traci5FC3Author
Known Participant
October 16, 2020

wut?

 

Traci5FC3Author
Known Participant
October 16, 2020

Check the Javascript console for errors.


I have a form field named "SOP No" and one named "Version No". I would like a stamp or SAVEAS when signed that saves with Current date/SOP No/Version No. What and where would I put that javasript?