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 |
|
|
MichaelMcDonald
Posts: 640
|
Posted: 01/02/2017, 1:51 PM |
|
What version ccs are you using ?
_________________
Central Coast, NSW, Australia.
|
|
|
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.
|
|
|
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 |
|
|
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.
|
|
|
|