Hi all,
I have a repeating table in infopath form, which is having a delete button control in one column. My problem here is i need to disable the button when it is the first row. Whenever the user enter the second row the using another "add row" button in the same row, the "Delete" button should be enabled in both rows. Whenever the the user delete the second row the button should automatically be disabled in the first row. For this i wrote some code to read the row count and assigned that count to a hidden field in the form, i did conditional formatting based on the hidden fields value to hide the control in the firt row.
I had put a break point in the code and from the preview mode i hit the delete button. Now i am able to delete the row with out hitting that break point, i don't know why this is happening. Also the code is not being executed when ever i hit the button out side the repeating table like "Submit". Any help on this issue would be greatly appreciated.
Thanks,
Kalyan.