NetTalk Central

Author Topic: Validate Form Data Before Printing  (Read 3374 times)

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Validate Form Data Before Printing
« on: April 13, 2015, 08:44:12 AM »
Clarion 9.1 NT 8.33

I have a memory form with some fields.  The fields set the parameters that will be passed to a report via a start button on the form.  How do I go about making sure the fields have been filled in when the start button is clicked?

I'd like to run some simple IF/Then tests of the fields and if they are blank (not filled in) then I don't want to run the report but give an error message and return the cursor to the field in question.

Mike Springer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Validate Form Data Before Printing
« Reply #1 on: April 13, 2015, 09:10:04 PM »
we should chat about this at the webinar on thursday...

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: Validate Form Data Before Printing
« Reply #2 on: April 15, 2015, 09:17:15 PM »
Hi Mike,

I hide the Print button until all the required fields is completed with a refresh on each field for the Print button.

Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Validate Form Data Before Printing
« Reply #3 on: April 19, 2015, 09:58:17 PM »