CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Validation clears all data

Print topic Send  topic

Author Message
RoyBaird

Posts: 115
Posted: 02/06/2015, 9:30 AM

I don't know what I am doing wrong on this form, but if there are any errors found in the validation, all of the data entered is gone and the error messages show up. is there a setting I am not seeing? Never had this problem before.

Wait, I just thought of something. This page does not use a table for the fields. I had to use DIVS. Could that be the problem?

_________________
Roy
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 03/01/2015, 2:23 AM

I have found that listboxes driven from the html rather than tables always lose their value.
So what I do in the on validate event is set the listbox value as a session variable, and in the before show event of the form I set the listbox using that session variable.
_________________
Central Coast, NSW, Australia.

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.