JQuery AdDelFields – Envato Current market – Codecanyon

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 = &#8220contenitore_enter&#8221)
2) il div con classe &#8220contenitore_enter&#8221 verrĂ  chiuso in un ulteriore div con un id specifico es:.(id=&#8221contenitore_generale&#8221)
3) the div with course &#8220contenitore_enter&#8221 will be shut in an additional div with a particular id eg. (id = &#8220contenitore_generale&#8221)
4) assign a reference attribute to every area to be duplicated eg. &#38lt input alt=&#8221nome&#8221 &#38gt
this attribute will be the set part of the &#8220Title&#8221 and &#8220ID&#8221, in this case:
considering the subject &#38lt enter alt=&#8221nome&#8221 &#38gt
will grow to be
&#38lt enter alt=&#8221nome&#8221 name=&#8221nome_ 1 &#8221 id=&#8221nome_ 1 &#8221 &#38gt
click on on include &#8230
&#38lt input alt=&#8221nome&#8221 identify=&#8221nome_ 2 &#8221 id=&#8221nome_ 2 &#8221 &#38gt
and so on&#8230
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