CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Set a form field before display

Print topic Send  topic

Author Message
newbieUser
Posted: 10/17/2003, 10:44 AM

i want to set the value of a form field before i display it. my page is called page1, my form is called form1, my field is called field1

my code is asp with templats in CCS.

i've tried in the beforeshow event for the form the following
fldfield1 = "aaa"
form1.fldfield1 = "aaa"
form1.field1 = "aaa"

how do i do this? Is it different depending on the type of form element or the datatype of the form element?

thanks.


Karen
Posted: 10/18/2003, 8:05 AM

Hi,

I'm not very sure what is required and I don't code ASP. But here's an idea, how abt putting the value in the 'default value' of the control's properties (data tab)?

Hope that helps.
Ashiff
Posted: 10/19/2003, 5:57 AM

Hi,

how about form1.field1.Value="aaa"

Depending upon the object refer to codecharge studio help. IF it is a textbox then refer to textbox reference runtime properties under ASP. If you need a forum for such help then you might need light years to complete a project.


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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