check on print criteria
Posted: Thu Feb 25, 2016 9:35 pm
I am understanding nuBuilder more and more and I am really enjoying it.
However, there are issues.
I have made a report with a criteria-form, a special form with two date-selections, a beginning date and an ending date. Now I have to check these dates, are they NULL, is the enddate earlier than the beginningdate etc.
I tried to use a custom-code field for that checks but it looks like these codes are all neglected in a print-criteria-form. Actually, what I am looking for is a "before print" custom-code, but that isn't there.
Of course i tried PHP, but I dont know how to notify the user from mistakes. Any output appears on a second, blank screen and the print stops because "I have already sent output"
If I use a criteria form, where can I check that code? and how can I inform the user of his mistakes?
Thanks for your answer!
However, there are issues.
I have made a report with a criteria-form, a special form with two date-selections, a beginning date and an ending date. Now I have to check these dates, are they NULL, is the enddate earlier than the beginningdate etc.
I tried to use a custom-code field for that checks but it looks like these codes are all neglected in a print-criteria-form. Actually, what I am looking for is a "before print" custom-code, but that isn't there.
Of course i tried PHP, but I dont know how to notify the user from mistakes. Any output appears on a second, blank screen and the print stops because "I have already sent output"
If I use a criteria form, where can I check that code? and how can I inform the user of his mistakes?
Thanks for your answer!