Welcome Guest, Not a member yet? Register   Sign In
Using "Hidden" fields on forms, a possible gotcha due to encryption
#1

[eluser]TWP Marketing[/eluser]
I used "form_hidden()" to pass my record ID from an edit form and discovered that the field is actually encrypted and this resulted in my code failing to recognize it. The form_validation() test failed on the ID field when it was 'required'.

I can work around this, since the data is only visible to administration level and above, but thought it worthwhile to warn anyone else to watch out for this 'gotcha', The UserGuide does NOT mention the encryption of hidden form fields, so I will be editing my copy of UserGuide to reflect the missing information. FYI


Messages In This Thread
Using "Hidden" fields on forms, a possible gotcha due to encryption - by El Forum - 01-29-2009, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB