Welcome Guest, Not a member yet? Register   Sign In
Custom form validation rule
#4

(This post was last modified: 08-30-2015, 10:16 AM by jLinux.)

(08-30-2015, 09:02 AM)CroNiX Wrote: Was just going to say that. Use a period or other char for your delimiter within the brackets and explode on that ($field in your method)

I tried that, I stated above that I tried a period, comma, etc etc, and nothing worked. It always just returned the first two. I believe this is because CI uses sscanf to get the values, and it must be a string

I know I could fix this by pretty much overriding the entire CI_Form_validation:Confusedet_value, but I try as hard as I can not to override methods in CI framework
Reply


Messages In This Thread
Custom form validation rule - by jLinux - 08-29-2015, 11:20 AM
RE: Custom form validation rule - by jLinux - 08-30-2015, 09:00 AM
RE: Custom form validation rule - by CroNiX - 08-30-2015, 09:02 AM
RE: Custom form validation rule - by jLinux - 08-30-2015, 10:14 AM
RE: Custom form validation rule - by mwhitney - 08-31-2015, 09:35 AM
RE: Custom form validation rule - by jLinux - 09-05-2015, 10:07 AM
RE: Custom form validation rule - by mwhitney - 09-08-2015, 07:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB