Welcome Guest, Not a member yet? Register   Sign In
Form validation last validation
#1

Hey all,

I'm running a form validation which checks if all the fields are being send and within the range 0 - 10. Then the amount of this value is multiplied by a set amount in the config.

For example:

Field 1 --> 5
In config is set field 1 amount = 5.00.
So 5 * 5.00 = 25.00.

This applies to all the fields.

In the end I'd like to run a validation which counts all the sent fields and checks if it raises above the amount of 500.00. If so, it should return an error.

Is there any way to do this? I've been staring at the documentary for a few hours and I cannot find a proper way how to validate AFTER all fields have been validated...

I hope someone is able to help me out, I hope you understand what I am trying to achieve. All help is greatly appreciated.

Thanks in advance!

Kindest regards,
Reno
Reply


Messages In This Thread
Form validation last validation - by BABYpanda - 12-14-2014, 05:44 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 08:47 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 11:36 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 12:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB