[FX.php List] Edit form and if statements
Jonathan Schwartz
jschwartz at exit445.com
Sun Feb 21 16:54:08 MST 2010
Sure, you can do that.
Although I feel that it would be a little funky to have a form where
a user could only enter data in a portion of the original data
fields. What if the user needed to edit data that had already been
entered previously? Without displaying with an input tag, they
couldn't . That would feel strange.
Better...just display all the fields in the form with your new and
improved form validation routines....unless you are worried about
tampering of the data you have already collected.
You also need to perform that validation routine upon page display
(as opposed to after a form submit) in order to communicate to the
end user that addl data is required.
HTH,
Jonathan
>Is it possible to have an edit form where only the missing data from
>the record show up as text fields and the completed data shows up as
>text?
>
>I am thinking something like using if statements where if it is
>empty() show text field else echo the data.
>
>I am looking for a way to MAKE users complete data that they have
>skipped. And yes I know about validating that data before it is
>submitted the first time, but for some reason on my part, I did not
>get that fully implemented and have some incomplete data. I would
>like it so that the next time they login, they would be taken to a
>edit form where the missing data fields are displayed with the good
>data they already have. Is this possible and would it be useful or
>should I approach this a different way?
>
>Thank you so much!
>
>Jon Montgomery (Not the gold medal winner in the Olympic Skeleton!)
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list
--
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011
More information about the FX.php_List
mailing list