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 "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
Validate all records on the Admin submissions page - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: Validate all records on the Admin submissions page (/showthread.php?tid=114)



Validate all records on the Admin submissions page - harmony - Apr 9th, 2009

I figured if I can do a find and then print or export the results on the submissions.php page in the admin area, that I should be able to add a button that validates whether or not a certain number of fields are empty from the same list of submissions.

I want to do this because I'm allowing clients to edit submissions by logging in. I don't want to validate on the edit_submissions.php page because I want the client to be able to save and return to the form without it being complete. When they are actually complete with their submission editing, they'll click a button that appears on their list of submissions (not on each submission edit screen). I'd like this button to validate their list of submissions for empty fields.

I can do this with php, but I don't know how it would fit into the form tools system.

Thanks again


RE: Validate all records on the Admin submissions page - Ben - Apr 9th, 2009

Hey Harmony,

Interesting...! But right now, I'm afraid there's really no way to do this. The best solution would be to write a module for it. I'm going to be tackling a "Mass Edit" module at some point; I'll certainly keep validation in mind when I do.

Sorry I couldn't be any help.

- Ben


RE: Validate all records on the Admin submissions page - harmony - Apr 9th, 2009

Thanks Ben!

Very grateful for all the features already!


RE: Validate all records on the Admin submissions page - Ivy Wolf - Oct 16th, 2021

It has become my habit to read forum posts on this website because I am a student of information technology. Availing helpful information from this website and buying a research paper online is absolutely necessary for me because experts have shared a brilliant peace of information here.