Reside PREVIEWInvest in FOR $3
This plug-in is quite helpful for those who have to have to duplicate or delete fields in a type.
WHAT DOES:
1) You insert the sort within a div (container) that has a specific class eg. (Class = “contenitore_enter”)
2) il div con classe “contenitore_enter” verrĂ chiuso in un ulteriore div con un id specifico es:.(id=”contenitore_generale”)
3) the div with course “contenitore_enter” will be shut in an additional div with a particular id eg. (id = “contenitore_generale”)
4) assign a reference attribute to every area to be duplicated eg. &lt input alt=”nome” &gt
this attribute will be the set part of the “Title” and “ID”, in this case:
considering the subject &lt enter alt=”nome” &gt
will grow to be
&lt enter alt=”nome” name=”nome_ 1 ” id=”nome_ 1 ” &gt
click on on include …
&lt input alt=”nome” identify=”nome_ 2 ” id=”nome_ 2 ” &gt
and so on…
This will allow the page acquiring the request to attain the value of a specific input or just differentiate in between them
also permits differentiation of the id to act on the components via JS uniquely
Innovative Capabilities :
1) implementation of a type of validation to the addition of fields:
- class to indicate the binding of a area
- course to reveal that a area have to be numeric
- class to indicate that a discipline need to comprise an e-mail
- class to reveal that a industry have to comprise a day in the format dd / mm / yyyy
2) callback functions are obtainable following the addition and just after elimination of fields
3) duplication of all the attributes of duplicate fields for regularity
Source