Home » Developer & Programmer » Forms » must the user click on radio button to save it on DB ?
must the user click on radio button to save it on DB ? [message #453847] Sun, 02 May 2010 06:23 Go to next message
ahmed_samir
Messages: 61
Registered: January 2009
Location: EGYPT
Member
hi there

i have field in DB that taken ( 1 or 2 or 3 ) am added it as text item at first and then change it to ( radio group ) contain 3 radio as : value for first 1 = 1 , = 2 , = 3 and mapping = 1
initial value for the group = 1

but when am working with the form and commit form there is no data add in this field when am change the radio value by click on any other on ( 2 or 3 ) it's saved no problem in it ..

why this thing happen coz i need to set the first radio as default for the form ..

thanks
Re: must the user click on radio button to save it on DB ? [message #453852 is a reply to message #453847] Sun, 02 May 2010 07:35 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Set its value explicitly in - for example - WHEN-NEW-FORM-INSTANCE trigger. Something like
:block.radio_button := 1;
Previous Topic: Role based menu security
Next Topic: need property list of Set_Custom_Property
Goto Forum:
  


Current Time: Fri Sep 20 02:24:10 CDT 2024