The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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.