How To Add Serial Number Dynamically | Community
Skip to main content
October 11, 2005

How To Add Serial Number Dynamically

  • October 11, 2005
  • 6 replies
  • 3492 views
Dear all,



In a dynamic form I require to add cosecutive serial no to the dynamically generated fields.How can I do it?If any body can please help me.



Thanking you

Rakesh
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

October 17, 2005
Hi Rakesh,



Can you please help me in creating a dynamic form in Adobe 7.0

We created few Static forms it went thru well, but couldnt really

get with a dynamic form.



Thanks in Advance.
October 17, 2005
I too need to be able to add a sequence number to each new row that is added to a dynamic form. The fields are being added / deleted as they should be but my JavaScript knowledge is not up to the level where I am able to address individual fields in each new row.



I've tried script along the lines of:



_detail[0].Item_Sequence.rawValue = 1;

_detail[1].Item_Sequence.rawValue = 2;



Where "detail" is the subform that contains the 'dynamic' rows

"Item_Sequence" is a numeric field in each row.



Please help to put an old IBM mainframe developer out of his misery and get to grips with this wonderful world of new fangled Adobe object-oriented technology.
October 17, 2005
Here is an example of create a sequence number to each new row.

It should be the first column (highlighted in yellow).



http://66.34.186.88/LiveCycleSamples/.3bbcbd8e.pdf
October 18, 2005
Many thanks Jimmy - that works a treat and has saved me many more hours of tearing my hair out. Now I can see that I was obviously barking up the wrong tree with my original approach - John.
October 19, 2005
Dear Jimmy,



Is there a way to take a Serial Number entered into a form field (that is unique to each form and piece of equipment) and automatically put it in the email subject line?



We need to do this to track registrations for equipment with serial numbers. It we could add the serial number to the email subject line rather than opening the file with the data it would be more useful to tracking new registrations. Also, using an existing serial number would be better for us, unlike Arderns situation.



Thanks for allowing me your help a third time.



Victoria HOlt
October 19, 2005
There was an earlier post that asked for help similar to this. It was called "Populate an email subject line and body using a submit button." (
jimmypham, "Populate an email subject line and body using a submit button." #9, 31 Aug 2005 4:32 pm) This might answer your question.