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 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
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
Custom menu item - add new submission for specific view - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Custom menu item - add new submission for specific view (/showthread.php?tid=29110)



Custom menu item - add new submission for specific view - felix - Oct 27th, 2017

Well firstly, a message to Ben: 

Just WOW! 

What an absolutely stunning contribution to the world of the Internet, Ben. Thank you.

The more I understand the flexibility of FormTools, the more impressed I become. Every post of yours that I've read on this forum, you come across as humble and dedicated and the fact that this software is now free speaks volumes about your character. I do hope you're enjoying the abundance that you deserve, and I'm really looking forward to seeing how this project continues to develop.

Secondly, to anybody that might be able to help me:

I'm trying to figure out a way to add a link on a client's menu, that takes them straight to an 'Add New' page, for a specific view or a specific form. I can't see that this is immediately possible, as even with the custom link option, the URL (...edit_submission.php?form_id=1&view_id=6&submission_id=49&message=new_submission) contains the submission_id, which I guess would need to be dynamically generated.

Is there a way to achieve this?


RE: Custom menu item - add new submission for specific view - Ben - Oct 29th, 2017

Hey Felix,

Haha thanks very much Smile I do hope the script comes in handy!

Regarding your question, how does the client account get mapped to the form/View? i.e. if User A logs in, where would the Add New link take that user compared to User B? Is there just a single Add New link for each user, each one of which links to a different form?

Ben