desire pull-down selection text to save as number. How?
-
I would like to present the pull-down selections as text but save the database entry as a number. e.g. Blue => 1, Red => 2, etc.
Can this be accomplished from within the plugin? if so, How? If not, can the code (an array or enumeration I suppose) be added? If so, where?
Alternatively, can a second field be created which automatically derives its value from the selection? Can that field be made read-only? Can it be hidden?
(BTW, since this is all to save space in a generated CSV file, if this is too difficult to do within the scope of PD, I will do it in the application end.)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘desire pull-down selection text to save as number. How?’ is closed to new replies.