CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Image in the Caption field

Print topic Send  topic

Author Message
Apu
Posted: 01/31/2002, 8:59 PM

I want to put an image in the 'caption' field on my form. My code is something like this:
<img src="images/questionmark.png" border="0">

It seems to work only on Label type fields and on Form Titles. Is there a way in CC (not manual) to add images for Captions on TextAreas. Or perhaps am I not doing something correct?

Using PHP/APache/Win2k/CC2.0

Thank you,
Apu
Nicole
Posted: 02/01/2002, 1:11 AM

Apu,
to display image as caption of the field of any type add html to field caption:
<img src="images/questionmark.png" border="0">

The only trick is using validation rules. The field caption is added to error message as it is and due to double quotes in html code you'll get parse error. To overcome it use Custom Validation event and use custom error messages.

   


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.