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

 [SOLVED]Form not sending a field value in the URL, please help thanks

Print topic Send  topic

Author Message
joejac

Posts: 242
Posted: 05/07/2009, 6:57 AM

Hello,
I set via a javascript function the value of a field form that is a listbox in this way according of a condition:

document.myform.fieldx_no.value = valuex; // valuex is a var

But the form do not pass the parameter fieldx_no with the value assigned. How can I do this?, I mean when click the submit button to send the previously set fieldx_no with its corresponding value assigned.

Is like It requires that the user manually select the option, validation fails, is asking for the field value.

Best regards
joejac
View profile  Send private message
melvyn


Posts: 333
Posted: 05/07/2009, 8:21 AM

The form isn't taking the value. If the form take the value then it sends the correct.

Try testing with the function and a textfield, so you can see if the value is correct and check if it got sent.

Also you can post the js here.
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
mentecky

Posts: 321
Posted: 05/07/2009, 5:32 PM

document.myform.fieldx_no.InnerHTML

Rick
_________________
http://www.ccselite.com
View profile  Send private message
joejac

Posts: 242
Posted: 05/08/2009, 5:54 AM

Thanks a lot both, Melvyn and Rick, I appreciate a lot your valuable time to answer.

Correct, I did not realize that I had a disable in my javascript, for this reason this field was not sent. Thanks to CCS glorious TPL variable I was able to write to the HTML the disable only when needed with and if in the BeforeShow event of the page.

Best regards
joejac :-)
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.