The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Separating Adding a form entry from editing existing entries - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Separating Adding a form entry from editing existing entries (/showthread.php?tid=5147) |
Separating Adding a form entry from editing existing entries - ericsou - May 5th, 2015 Hi all, First this is a great tool. However, I did notice something weird. I did try to create a view to restrict editing existing form entries but when one is then adding an entry, the fields are not editables. Is there a way to allow addition of new form entries but prevent someone from editing already created entries? It seems that both are tied. Thanks, RE: Separating Adding a form entry from editing existing entries - dearmosin@gmail.com - Jun 2nd, 2015 Hello, I would suggest you to comment add button in template/default/client/forms/index.tpl and template/default/client/forms/edit_submission.tpl then add make a from through from_builder publish it. Put the generated url in menu.tpl give it if condition {if $SESSION.account.account_id == "2" || "3"} close the if condition {/if} 2 & 3 means account ID of clients. Paste the url generated via form builder. Create option list with user list. Use client custom field create new field with name tag for client by name assign option to dropbox containing user list. Now go to client ---> Edit select tag as user name that particular account belongs to. Edit your form make a new field submitted by field type dropbox then click on view select filter submitted by field equal tag. Hope this tick will work for you. |