Non-database aware fields in form

I would like to be able to add a radiobutton and display/hide a block depending on it’s status. But this radiobutton should not be attached to a database. Similar with checkbox.

Re: Non-database aware fields in form

Hello,

You could just add a radio button field, and use sc_field_display on the field’s onChange event to hide/show the other field.

regards,
Bernhard Bernsmann

Re: Non-database aware fields in form

I don’t need to attach the field to a field in the database? AFAIK that’s not possible and will generate a sc ide error.

Re: Non-database aware fields in form

Nope,

You can create “virutal fields” on the application.

regards,
Bernhard Bernsmann

Re: Non-database aware fields in form

Sounds very useful, but now the 1000$ question :wink:

How do I do that. Can you give me a short description?

Re: Non-database aware fields in form

mmm, think I found a way. Let you know if I have further questions.