Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: HTML form tag in caption area
aeon
Junior Member

Posts: 3
Registered: 9/12/2005
Member Is Offline
posted on 9/15/2005 at 07:12 PM Reply With Quote
HTML form tag in caption area


According to the documentation items captions can contain any HTML. Reading this I tried inserting the following form code (with an appropriate action set) including a text entry field and a submit button, but with Firefox focus is lost immediately one clicks on the text entry box making it impossible to use. Also clicking submit nothing happens in either IE or Firefox.

['<b>Test</b><form name="form1" method="get" action="" > <input type="text" name="cnin"><input type="submit"name="go" value="GO"></form>'],

The same code just on the page rather than in the Tree Menu works fine.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 9/16/2005 at 01:33 PM Reply With Quote

To pass action from item link to item's content form in IE you need to set link field for the item (just a stub):
['<b>Test</b><form ...</form>', 'javascript:;'],

Firefox does not perform submit of the form in anchr tag, compare folowing HTML fragmnts in FF and in IE:
Does work in IE but FF
<a href="javascript:;">
<b>Test</b>
<form name="form1" method="get" action="index.html">
<input type="text" name="cnin">
<input type="submit" name="go" value="GO">
</form>
</a>

Does work in both
<form name="form1" method="get" action="index.html">
<a href="javascript:;">
<b>Test</b>
<input type="text" name="cnin">
</a>
<input type="submit" name="go" value="GO">
</form>

With FF focus issue please refer to our Customer Care System
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004