The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Hidden field for back office use after submission - 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: Hidden field for back office use after submission (/showthread.php?tid=5008)



Hidden field for back office use after submission - d7ennis - Jan 20th, 2015

Does the form tool allow for ‘hidden’ fields – (‘hidden’ meaning that the field is not displayed for user input, but available for ‘internal use’ on login)? For example a field where the office could flag the submitted form with a status like Completed, Hold, Duplicate, Invalid Address, Picked up, Name mismatch etc… (I am using Formtools 2.2.6)


RE: Hidden field for back office use after submission - alexh - Jan 20th, 2015

Absolutely. Just build your html form without that field. I use this all the time for similar purposes.

Alex


RE: Hidden field for back office use after submission - Hellas - Feb 13th, 2015

I'm trying to do this already for a couple of days ... Could you explain how to do this?

Thnx!


RE: Hidden field for back office use after submission - alexh - Feb 18th, 2015

Check out the documentation here on adding form fields:

http://formtools.github.io/docs/userdoc/form_management/adding_form_fields/


..."Edit your form and go to the Fields tab. There, at the bottom right of the page, click the Add Fields button. That will automatically insert those new fields at the appropriate spot in your form (i.e. wherever you specified)." Just remember to go to the view that you are using and add that field to the view. Otherwise the new field will be there and you won't be able to see it.

I have found that sometimes I need to set that field to a default value. For instance I have a form that when the form is submitted, I go to into FormTools and use radio fields to select "approved", "rejected", etc. Because I want it to default to "Not approved", I put a hidden field in my form that sends "Not approved" to FormTools for that field. Then, when I go in to it on the back end I selected "approved".

Alex


(Feb 13th, 2015, 9:21 AM)Hellas Wrote: I'm trying to do this already for a couple of days ... Could you explain how to do this?

Thnx!