CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Multiselect Listbox (Resolved)

Print topic Send  topic

Author Message
saseow

Posts: 744
Posted: 03/11/2013, 2:03 AM

I cannot find a solution for this. Hoping someone has one.

I have a multiselect listbox which creates duplicate records in the same table for each item selected. All works fine.

The problem arises when I edit a record, the listbox shows the correct single item as selected but unless I click it again, it overwrites that item in the table with a blank.

Any ideas?
View profile  Send private message
saseow

Posts: 744
Posted: 03/11/2013, 5:07 AM

I resolved this by creating a duplicate page with the multiselect listbox being replaced by a standard listbox.

If the original form is in edit mode, I redirect to the new page.

This works fine but there must be a more elegant way of doing this.
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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