This topic is locked

Radio Button with List of Values

2/5/2009 12:15:43 PM
ASPRunnerPro General questions
J
jdu001 author

Problem:
I use PHPrunner 5.0 with a MySQL database.

In the database I have a field defined: approved, TINYINT, length 1, NOT NULL, DEFAULT 1
On the ADD/EDIT screen I want for this field two radio buttons which are labeled Yes and No.
In the visual editor in the properties screen for this field I selected "Radio button", Selected "List of values", entered "Default value" 1

Whith the + butten I added the values No and Yes.
When I build the project, I choose Add, I see two buttons, labeled No and Yes and the Yes-button is selected. I save the created record.

I then edit the created record. No Radio Button is selected. When I look in the databese the value has changed to zero.
What do I wrong?

J
Jane 2/6/2009

answered in PHPRunner forum.