form builder

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jubber
Forum Members
Forum Members
Posts: 34
Joined: Wed Apr 08, 2009 8:42 am

form builder

Post by jubber »

i am using the module form builder which is working fine but i was wondering how can add a feild which is just for numbers any help please if it had validation would be even better
Peciura

Re: form builder

Post by Peciura »

Field Type:     Text Input
Field Validation:   Numeric
To clear spaces in field you can add

Code: Select all

onblur=' this.value=this.value.replace(/(^\s*)|\s*|(\s*$)/g, "") ; '
to "Javascript for field:"
jubber
Forum Members
Forum Members
Posts: 34
Joined: Wed Apr 08, 2009 8:42 am

Re: form builder

Post by jubber »

ill try that now thank you
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: form builder

Post by tyman00 »

You could look into using a Jquery validator as well
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Post Reply

Return to “Modules/Add-Ons”