The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keeping values in fields during errors
Hey all,

I'm still trying to get the hang of the API and one question I had was keeping values in the fields during error handling... in other words, if someone enters something in one field, forgets to in another and it errors to tell them they need to fill that one in, the other data is still present in the loop.

For the field I'm playing around on I have:
    <input type="text" name="email" size="30" value="<?=@$fields["email"]?>">

But it doesn't keep the values on the error loop.

I've been looking at this page: and can't seem to figure it out...

I've also tried:

with no luck...

Any ideas?


Have you read this thread?

There's an omission in the documentation that doesn't cover this scenario. I'll be updating it this coming weekend, but in the meantime that thread may help.

- Ben
Yeah I saw that thread after looking around a bit.. I forgot to update this thread to reflect that. Sorry! But thanks!

Forum Jump:

Users browsing this thread: 1 Guest(s)