This topic is locked

tick a checkbox field automatically on edit

4/20/2011 5:00:18 PM
PHPRunner General questions
I
itmann author

Hello Runners,
i have a simple qustion:

i have a table "Users" filled with users data. i have a checkbox field in this table named "reconsider". all i want to do is to get this checkbox field automatically ticked when a user updates his data.any ideas??
please see screenshot for explaination

H
horsey_kim 4/21/2011



Hello Runners,
i have a simple qustion:

i have a table "Users" filled with users data. i have a checkbox field in this table named "reconsider". all i want to do is to get this checkbox field automatically ticked when a user updates his data.any ideas??
please see screenshot for explaination



Give this a try:

In the editor, double click the field name. Then under the Edit as settings, I THINK, you select checkbox and then in the default value you type in the number 1 and then check the box for "Apply on the Edit page as well". If 1 does not work then try using the word "true".
Hope that helps,
Kim