RE-Submit form keeping the existing form name

S

shorea

I have a form that is submitted by one group and then another person has to
open the form and digitally sign it. I would like him to submit the form as
well with the same name as the first submission. I am currently using the
now() function for the first submission to ensure the name of the file is
unique. Thanks for your help in advance.

Andrew
 
K

K.Ramana Reddy(GGK Tech)

Hi,

Follow the below scenario.
var isNew = thisXDocument.IsNew;

If(isNew)
{
// Form is new
Use the now() for file name.
}
else
{
//Form is already submitted.
submit the existining form name
}

I hope this will help for you.
 
S

shorea

Unfortunately I'm not a programmer by trade. What I ended up doing that
works very well is storing "now()" in a hidden field. I submit based on that
field and allow the submit button to overwrite files. The hidden field is
only filled in based on a required field in the form. Thanks for your
assistance.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top