EDIT field question

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wuchi
User
Posts: 90

EDIT field question

Post by wuchi »

Hello,

Is it possible to add edit tag as TEXT and have also select - checkbox on things you allready have in your database?

Best regards,
Wuchi


mobhar
User
Posts: 11734

Post by mobhar »

Could you please give us an example for this?


wuchi
User
Posts: 90

Post by wuchi »

Hello,

for example:

Field --> FOOD has multiselect dropdown when i need to edit that field it is still multiselect dropdown field it should be TEXT ...

Best regards,
Wuchi


mobhar
User
Posts: 11734

Post by mobhar »

No, you cannot change from Multi Select Dropdown control in Add page to Textbox control in Edit page.


wuchi
User
Posts: 90

Post by wuchi »

Hello,

Any work around this? Or i have to write custom code...

Best regards,
Wuchi


scs
User
Posts: 694

Post by scs »

Why not, create 2 separate field in the same table. During add mode use fleldA (visible) and update the TEXT value to fieldB (hidden). So, in edit mode, use fieldB (visible) to update fieldA (hidden).

Make sure you won't mess up your data.


Post Reply