| Index
» Projekty
» phpMyEdit
» Fórum
» Fields marked as ReadOnly |
 |
Odin77
Založený: 02.09.2004
Príspevky: 4
Zaslal: 2004-09-02 14:53
Návrat hore
Odpovedať s citátom
|
Hello together,
I've got a simple (stupid) question. I want to realise a special edit-mode.
I want to set different fields to ReadOnly in dependence of there values.
For example (5 DB-Entries):
fieldname = weight
values = 1,2,3,4,5
every value > 3 should be "readonly"
Can you help, please?????
Which variable can I use to check out the value of the field 'weight'? How can I switch the Debug-Mode ON?
Many THX for help
|
Odin77
Založený: 02.09.2004
Príspevky: 4
Zaslal: 2004-09-03 06:33
Návrat hore
Odpovedať s citátom
|
fine, that's the first step - THX.
But which variable contains the value of the selected record inside the edit-mode. I only whant to read a value of a specific field and decide to mark this field as "Read-Only".
|
Odin77
Založený: 02.09.2004
Príspevky: 4
Zaslal: 2004-09-15 07:48
Návrat hore
Odpovedať s citátom
|
Thank's a lot! I've found it. I'm using a Trigger. It works fine.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|