[Zope] Text box with qualifier and Javascript

Laurie Nason laurien@tiger.bcm.tmc.edu
Tue, 17 Apr 2001 15:58:03 -0500


OK guys,

Is it possible to specify an input box with a qualifier (:int) and then
check it when the form is submitted using javascript? - the name of the box
now includes the :int
i.e.
<input type="text" name="event:int" size="10" value="5">
.....
.....
<script Language="Javascript">
function checkform(myform) {

	if(myform.event:.value=="")
		    {alert("The event cannot be blank!")
		    myform.event.focus()
		    return false}

Help!
Laurie