Incremental
Member
I'm designing a contact form and I'm not quite sure of the Fabrik way....
I've made a Contacts List (stored in one DB table) containing both user and admin informations.
I've made in the frontend, menus to access to the form (public) and perform administration on the list (superuser).
As I have for exemple two textarea elements : 'contact message' and 'Reply', these 2 fields are visible in the public form (only the 1st should be visible, the second is only to be filled by the admin).
1) Is it possible to dynamically hide an element [textarea has no hidden property] ?
2) Do I have to clone the List / Form / Elements / Groups, to have another "kind of view" mapped on the same database table ?
Just to have one Form with only public infos, and one List/Form with full admin infos ?
If it's the case, it's sounds wasting to generate so much elements as we could programatically decide (at loading) if fields are to shown or not ?
Thanks a lot for your helping advices.
Regards
I've made a Contacts List (stored in one DB table) containing both user and admin informations.
I've made in the frontend, menus to access to the form (public) and perform administration on the list (superuser).
As I have for exemple two textarea elements : 'contact message' and 'Reply', these 2 fields are visible in the public form (only the 1st should be visible, the second is only to be filled by the admin).
1) Is it possible to dynamically hide an element [textarea has no hidden property] ?
2) Do I have to clone the List / Form / Elements / Groups, to have another "kind of view" mapped on the same database table ?
Just to have one Form with only public infos, and one List/Form with full admin infos ?
If it's the case, it's sounds wasting to generate so much elements as we could programatically decide (at loading) if fields are to shown or not ?
Thanks a lot for your helping advices.
Regards