Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form semi imbedded in xslt

Status
Not open for further replies.

ironyx

Technical User
Nov 13, 2001
134
US
I have an issue with an inherited xslt/coldfusion/vbscript application.

It has an imbedded form inside the xslt and it uses a <form field onblur> to call an external vbscript to validate form fields.

So my question is does anyone know the syntax to call something like this on a <select input>. The <text imput> is simple enough

I was also wondering if anyone knows if vbscript dot notation is heirarchical. This person names a form field "form" so now I am not sure if the reference to this field will work or if document.form will try to call this field instead of the whole form.

Thanks for any info or direction. I am sitting here scratching my head feeling very dumb!

Va.
 
>So my question is does anyone know the syntax to call something like this on a <select input>. The <text imput> is simple enough
Use onchange handler.

>I was also wondering if anyone knows if vbscript dot notation is heirarchical.
Not in the specific sense of child axis direction. For instance for an form input element:
[tt] me.form[/tt]
refer to it parent form element.
 
>This person names a form field "form" so now I am not sure if the reference to this field will work or if document.form will try to call this field instead of the whole form.
"form" as an element's name being a reserved word of html/dom, not by itself a vbs/js reserved words. When used in vbs/js, it might not break. If the vbs/js is operating on dom, it may or may not break. but it will be a cause of trouble no end at least for clarity and debugging. It should better be avoided.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top