on 05-28-2009 2:24 PM
Hi,
My requirement is to add a new line and delete a line in HCM adobe form table.
Thanks,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
Whether it HCM or WebDynpro or Offline Form, the Dynamic table with add and delete row is similar (when considering from Adobe Form side only), check your code once again as in the thread it is showing up mixed up code completely without any line breaks, I tried creating a new message by typing here the complete code but it is also displaying like the one displayed in the thread which I have added as link in previous message. And you must use only a normal button from library.
Regards
Pradeep Goli
Edited by: Pradeep Goli on May 28, 2009 7:43 PM
Hi Nikhil,
If you see the code for the ADD Button you find
if (nNumRow == 7)
{
xfa.host.messageBox("The maximum allowable number of rows is 7. You cannot add any more rows.", "Warning", 3);
}
Here you can remove the code completely or you can limit the number of rows providing to user, by changing the number "7". Change the code accordingly.
Regards
Pradeep Goli
Hi Pradeep,
I got that part regarding the error. But as i said earlier thats not the issue.
The issue is when i click 7 times i get the error that means the code is working but lines are not getting added. thats the problem. i dont see the lines added to the table. I only get the error after clicking on the button 7 times.
Any idea why the lines are not getting displayed, only the first initial line is displayed.
Thanks,
Nikhil
Perhaps your form XDP preview format property is defined as Acrobat x (Static) XML Form.
Changing this form property to Acrobat x (Dynamic) XML Form will solve the issue. You can find this setting as following.
In the menu of the FormDesigner go to: Edit -> Form Properties -> Defaults -> XDP Preview Format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.