I am somewhat of a novice at creating forms in Livecycle designer and need help adding a filename and path to the footer of a form after clicking on the "save as' button. I have not found any answers anyplace so help would be greatly appreciated ASAP. Thank you!!
Views
Replies
Total Likes
Create a field on your masterpage. Get rid of the caption, appearance=none and set as Protected. Also set your width to expand to fit. In the layout:ready event of your field, add this JavaScript:
this.rawValue=event.target.path
That should do it.
Kyle
Views
Replies
Total Likes
Thank you. I would like the path to immediately update when the form is saved under a different name. Is that possible?
Views
Replies
Total Likes
You can put that same code in the postSave event. Keep in mind, if you want to save the new path in the form, you'd have to do a Save As, to first update that field, then another Save to save the value.
Kyle
Views
Replies
Total Likes
Is there a script I can add to the SaveAs button I’ve created that will do all of it automatically? For example, click save as and it will update the filename and path immediately to reflect the new value from the save as.
Views
Replies
Total Likes