Hello . . . I was planning on using Javascript to do some data validation on a Zope site, but as it turns out, Javascript has big problems coping with the type-conversion tags (:string, :int, etc) and the ":records" tag. (I could certainly live without the type converters, but the ":records" tag would be quite handy.) I couldn't find a way to let Javascript reference any of the form items that used the ":whatever" construct. Does anyone know a way around this? Thanks in advance for any help! -CJ
Browser DOM objects such as 'forms[0].elements' can be used like dictionaries, so names with odd characters are accessible from JavaScript as 'forms[0].elements["urg.blag:record:list:int"]' ----- Original Message ----- From: Christopher J. Kucera <ckucera@globalcrossing.com>
I was planning on using Javascript to do some data validation on a Zope site, but as it turns out, Javascript has big problems coping with the type-conversion tags (:string, :int, etc) and the ":records" tag. (I could certainly live without the type converters, but the ":records" tag would be quite handy.)
Cheers, Evan @ digicool
participants (2)
-
Christopher J. Kucera -
Evan Simpson