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 -> General/Other

 Text Box Default Property set to Multiple = true

Print topic Send  topic

Author Message
nitin2mishra

Posts: 3
Posted: 12/28/2016, 12:15 AM

Hi

when i am creating Text Box Default Property set to Multiple = true so it become Array

and when i am getting $_POST['Process_Id'] value after Insert event it return Array so i changed the code to

$_POST['Process_Id'][0] now I am able to get Text Box Filed Value .i am surprised to see this what is happening to my code

Can anyone offer any help?

Kind Regards,
Nitin Mishra
_________________
Nitin Mishra
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 01/02/2017, 1:51 PM

What version ccs are you using ?
_________________
Central Coast, NSW, Australia.

View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 01/02/2017, 6:10 PM

Interesting, didn't know it could be done.

How to validate input for consistent array separator such as ',', $string ?

_________________
Central Coast, NSW, Australia.

View profile  Send private message
nitin2mishra

Posts: 3
Posted: 01/02/2017, 9:22 PM

Hi

I am using CSS v 5.0.0.16254

i created a simple record and i wanted to get value of list box after insert then it return Array.then i say the code in php file for list box it set the property $this->Job_No_From->Multiple = true;

I got this problem from last 10 days.whenever i create list box it's default property set to List_box_Name->Multiple = true;


$this->Job_No_From = new clsControl(ccsListBox, "Job_No_From", "Job No From", ccsInteger, "", CCGetRequestParam("Job_No_From", $Method, NULL), $this);
$t $this->Job_No_From->Multiple = true;
$this->Job_No_From->DSType = dsTable;
$this->Job_No_From->DataSource = new clsDBConnection1();
$this->Job_No_From->ds = & $this->Job_No_From->DataSource;
$this->Job_No_From->DataSource->SQL = "SELECT Job_Id, Process_Id, pro_id \n" .
"FROM a_st_create_job_process {SQL_Where} {SQL_OrderBy}";
list($this->Job_No_From->BoundColumn, $this->Job_No_From->TextColumn, $this->Job_No_From->DBFormat) = array("Job_Id", "Job_Id", "");

_________________
Nitin Mishra
View profile  Send private message
DataDoIT
Posted: 01/03/2017, 12:56 PM

http://examples.codecharge.com/ExamplePack/ManyToManyLi...ManyListbox.php
MichaelMcDonald

Posts: 640
Posted: 01/04/2017, 12:40 AM

Wonder if Alex Knievel is child of Evil Knievel ...
_________________
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.

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.