This topic is locked

Count Blank Fields

6/9/2011 2:25:12 AM
PHPRunner General questions
A
angelcause author

I want to count and blank fields not filled by users in a form ? Is there any way to do so.

Sergey Kornilov admin 6/9/2011

Not really sure when you want to count blank fields and what you want to do with this count. Give us more info on this.

A
angelcause author 6/10/2011

I have to monitor the database and report. For example a user fills a form and accidentally leaves a field blank, the form will save without any errors. but i want to include a field which will calculate and tell me the number of fields that have been left blank, which then i will report for further action.

Sergey Kornilov admin 6/10/2011

Probably the best approach is to set those fields as Required in PHPRunner. In this case user will be advised to fill those fields before submitting the form.