![]() |
Sergey Kornilov admin 9/6/2005 |
Kelly, |
K
|
kellyho67 author 9/7/2005 |
Ok, I found the onsubmit portion. |
K
|
kellyho67 author 9/7/2005 |
I think rather than on submit I'd like to tie the onblur event from the particular form field to a Javascript I have created. I'm not seeing were I do that part in the code. |
![]() |
Sergey Kornilov admin 9/9/2005 |
Hi, if($format==EDIT_FORMAT_TEXT_FIELD) { if("timefield"==$field) return '<input type="text" name="value'.$ifield.'" '.GetEditParams($field).' value="'.htmlspecialchars($value).'" onblur="return testtime(this.value);">'; if(IsDateFieldType($type)) return '<input type="hidden" name="type'.$ifield.'" value="date'.DateEditType($field).'">'.GetDateEdit($field,$value,0,$ifield,$edit); return '<input type="text" name="value'.$ifield.'" '.GetEditParams($field).' value="'.htmlspecialchars($value).'">'; }
|
K
|
kellyho67 author 9/9/2005 |
Great, that make perfect sense. Thanks for the kickstart shouldn't be any problem from there. |