Retain Data on Form

1 view
Skip to first unread message

cmos

unread,
Jul 6, 2008, 7:13:10 PM7/6/08
to Web Form Factory
Hi

The form doesn't retain data when there is an error.

Any ideas why?

my form is called order and
it tries to print out the value here:

<input name="name" id="inputText" type="text" value="<?php echo
(isset($order->name)? $order->name: '')?>" />

One thing is that the $order object is never created in the script,
anywhere.

Let me know if you have any ideas.

Thanks,
Chris
Reply all
Reply to author
Forward
0 new messages