July 22, 200421 yr For some reason my two Input fields in the Show Custom Dialog are not working. They do not enter the entered data into the local fields they are each assigned. I have defined two global fields to accept data from the two dialog input fields. Wondering if I am doing something wrong here or there is a bug. I have attached a pdf of the script. thanks to you. 1090502832-DefineScriptsfor
July 22, 200421 yr If I remember correctly the the input only happens if button 1 is selected. Try changing the order of your buttons.
July 22, 200421 yr Author OK. I got it, but it's not mentioned anywhere in the manual or help. The only time the data is copied from the input fields is if the user selects the default button. that is a design flaw in my scenario. I have a delete button on a layout, when clicking delete the dialog box comes up with two button choices "No" and "Delete". Now I have decided that for safety the "No" button should be the default button not the "Delete" button. I have two input fields, one says "Please enter your name", the other says "Please enter a reason for deletion." The problem is when the person fills these in and hits delete nothing is copied into the two layout fields. It's only if they click "No", the default button, that their name and the reason are copied. Is there a way to get the data from the two input fields to be copied when the non-default button is clicked? Seems like this should be possible.
July 22, 200421 yr Check out the display plug-ins. They may work the way you would like them to. Or create a layout that looks like a dialog box and put the fields into it.
Create an account or sign in to comment