on 11-01-2007 1:57 PM
Dear SDN Community,
I have to read the line item data from the user in my Adobe form. I would populate the products based on the customers part# in the line items table and the user is supposed to enter the quantities. If the material is of a particular type I just want to make the quantity field to 1 and disable the row for the user not to update the quantity field. Can you please tell me how I can achieve this functionality of disabling a particular row in a dynamic table in Adobe forms. I am using 2004s and Designer 7.1.
Thanks!
Surya.
Dear surya,
You may check out the scripting options available.
Thanks and Regards,
Anto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anto,
Thanks for your reply. I am trying to find out a way to loop through all the cells in a table either by using Javascript or by FormCalc, can you please throw some light how I can loop the table. Once I get this, I would get a step close to locking a row in a table for an entry.
Thanks!
Surya.
Surya,
Can you pls post ur code which u used to read the table content? I am trying to do that, but no luck for since a week now..
BM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Surya,
I'm wondering why it doesn't work for you.
Try this.
1) Click on the first cell of your table.
2) Choose the event "initialize"
3) Put this code inside the initialize event
var nSubLength = Table.DATA.all.length;
xfa.host.messageBox(nSubLength);
4)Execute the form and see if the number of rows is prompted in a message box.
Hope this helps.
Cheers,
Mandrake!
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.