2007/3/14 18:55
anemic
Just popping in
Posts: 36
Since: 2006/12/6
2007/3/15 3:54
if( $this->getName() == 'MyField' ) { return ".$this->getName()."' id='".$this->getName()."' size='".$this->getSize()."' maxlength='".$this->getMaxlength()."' value='Click Here to Change Field' onClick='clearText();window.open("/Selections/MyFieldLauncher.htm","WindowName","location=0,status=0,scrollbars=0,menubar=0,resizable=1,width=493,height=655")' />"; } elseif( $this->getName() == 'MyField2' ) { // Do MyField2 input statement } else { // default formtext.php input field. return ".$this->getName()."' id='".$this->getName()."' size='".$this->getSize()."' maxlength='".$this->getMaxlength()."' value='".$this->getValue()."'".$this->getExtra()." />"; }
function clearText() { if (document.userinfo.MyField.value == 'Click Here to Change Field') { document.userinfo.Myfield.value = "" ; } }
Advanced Search
338 user(s) are online (278 user(s) are browsing Support Forums)
Members: 0
Guests: 338