January 9, 200719 yr Hello everyone! I am trying to use a custom dialog to set a radio button. The dialog says would you like to do something: default button is no and button 2 is yes. if the user hits no this will end the dialog, but if the user hits yes then this will set a radio button and then insert text into a portal and set a global price in the next field. I have looked at the radio script file that was posted, but that was not working. Any help would be greatly welcomed. Thanks
January 9, 200719 yr If you follow the Show Custom Dialog[ ] command with: If [Get(LastMessageChoice] = 1] Set Field [YourTable:RadioButtonField; "YourButtonValue"] End If (where the set field command places the exact text value associated with the radio button you want set), the associated radio button will be selected. NB, I'm assuming that the Yes button on your custom dialog is the first button, which is why I've suggested Get(LastMessageChoice] = 1. If it's the second button then you'd need Get(LastMessageChoice] = 2 instead. :wink2:
January 11, 200719 yr Author Thanks for the quick reply. I did a little tweaking and it works perfect. Thanks
Create an account or sign in to comment