Forums

Dropdown list has "Other" but want to be able to type

Max_admin 12 Dec, 2008
Hi Malcolm

here comes the use of custom JS validation code, you need to add it to the JS code box, tie it to the submit even of the form, example :

in your form tag attachment field add:

onsubmit="return validate()"


at the JS box:

function validate(){
if(other is checked and other text is empty)alert();
}


let me know if you can't complete the code yourself, very tired now!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.