I have a table in my form with a remove button for each table row - this works fine, but it occurred to me that it would make more sense to bring up a message box warning the user that they are about to delete a table row. I've tried and tried, but whenever I test or save the file nothing now happens when I click the remove button - no warning window appears and the remove button does not remove the row.
At the moment even if the message box answer is No it still removes the row in its entirety (which I only want to happen if the answer is 'Yes') I'm assuming that this is down to me not having an if statement. Problem is I don't know what I should do at this point. Can someone help?
I've taken the code (above) from an example of buttons that are used in acrobat that I found online - and can be implemented through acrobat pro. The code itself works fine. However, if I open the example file in live cycle and save it, the file no longer works in acrobat pro or reader (despite not editing it in any way). It doesn't work in so much as clicking on the example button that should open a warning box doesn't do anything. Running this file in Apro with the debugger doesn't give an error either.
Could this be that there are differences in the way scripting is implemented in Apro versus LiveCycle? If that's the case I get the impression that I'm not adding something that I need to whereas Apro automatically adds this (which is then subsequently removed when you open it up in LiveCycle)?