Orçamento Online
Atendimento ao Vivo
Portfolio
Blog
FAQ
Projetos
forMoo - Form Tools for Mootools
forMoo
What?
forMoo is an plugin developed for to be used with form validations. Quite simple and really usefull, forMoo have a huge kind of validations and ways to validate your forms without matters about form sizes or form objects. You will need the latest mootools core version to run forMoo with any kind of problems.
Using the mootools morph capability, forMoo morphs the element to the classes specified on the stylesheets while the visitor is using the form. You can also set everything that you needs in your form, like scroll on errors, focus capabilities, ajax outputs and much more other fun stuffs.
How?
A simple way of call forMoo could be like this below:
var validatormail = new forMoo({form:form,original:class,valid:class,invalid:class});
validator.Required(field,msg);
forMoo have the functions below all ready to help you in your form validations:
- Required - A required field. Not null field;
- textRequired - Text is required on the field;
- checkradioRequired - Checkbox and radio group is required;
- selectRequired - Select validations;
- emailRequired - An valid email is required;
- urlRequired - An valid url is required;
- integerRequired - Integer numbers required;
- invalidRequired - INVALID fields validation
- regexpRequired - RegExp is required for the field;
- matchRequired - Mach two fields;
- fileRequired - A file is required;
- dateRequired - A valid date is required;
- timeRequired - A valid time is required;
- machValueRequired - Mach the value of two fields;
- amountRequired - An money amount is required;
- lengthRequired - The length of the field is required;
- cpfRequired - Brazilian CPF required;
- cnpjRequired - Brazilian CNPJ required;
- creditcardRequired - Credit card is required;
As well as the function list, forMoo implements the list of goodies that you can check out below too:
- maskIt - type how you need to mask your fields;
- showMsgs - shows error messages;
- scrollOnError - Scroll to the next error field;
- tips - Show tips while is the user is typing;
- foc - Morph the field to the foc class while is in focus;
- Ajax Output - Send the result to an external server function via REQUEST
Demos
Click here to see a full page with forMoo demos
Download
You can download mooblinker right here from this link. Remember that you will need mootools core version to see it in work.Issues
Some troubles? Get in touch right now and help us to implement more and more this component

