Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hi folks!

I'm running into some troubles with something that I think has a simple solution, but I cannot figure it: I have a form into a clonable template, accesible from front-end, and also extended users module activated. Ho can I save (cms:db_persist_form) also user's id (k_extended_user_id) and user's name (k_user_title) into dedicated fields like 'teacher_id' and 'teacher_name', by using the current logged-in user data? Inputs are type="bound", so hidden field method doesn't work...

Thanks a lot!
Hi,

<cms:db_persist_form> allows direct setting of values (i.e. without using a bound field). Please see the following examples -
viewtopic.php?f=4&t=8836#p17619
viewtopic.php?f=4&t=8161#p14428

Hope this helps.
2 posts Page 1 of 1