Hi i have used custom form in my application example:
<tr> <td> {{=form.custom.label.mobile}}:</td> <td>{{=form.custom.widget.mobile}}</td> <td>{{=form.custom.label.email}}:</td> <td>{{=form.custom.widget.email}}</td> </tr> I need a javascript/jqeury function to allow spaces and numbers only in the mobile field, even if user tries to enter some character or special character or anything else other than spaces and number , it should not allow the user to write it there. Please suggest..