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 -> ASP

 ID Attribute for Form Fields

Print topic Send  topic

Author Message
Benultra1
Posted: 06/08/2005, 8:14 PM

Currently when codecharge places a form object onto a page, there is a name attribute for the object in the HTML. Is there anyway of getting codecharge to add the ID fields as well, with the same value as the Name Attribute.

Below is an example of what codecharge produces know!
<input type="hidden" name="{Object_Name}" value="{Object}">

What I would like it to produce

<input type="hidden" name="{Object_Name}" id="{Object_Name}" value="{Object}">


Could this be done by editing XML component in codecharge?

The reason I want to do this, is that Mozilla based browsers use the id attribute when referencing objects on the page in javascript.

Any Ideas other than continualy going in and adding the attribute?
marcwolf


Posts: 361
Posted: 06/09/2005, 7:20 PM

This is something I have asked for in the Wish List and it has been indicated that its in the To Do list

In addition changing the ID value would be to have the

FORMNAME_CONTROLNAME

Thus uniquely idenfying a control on a page. I use the getElementById a lot as it is the safest cross browser call to find a control.

At the moment I have to do this manually..

Take care

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
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.

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.