Envato Sector – JQuery AdDelFields

Live PREVIEWBuy FOR $3

\\
\\

This plug-in is extremely handy for those people who need to have to replicate or delete fields in just a kind.

WHAT DOES:
1) You insert the form inside of a div (container) that has a precise class eg. (Course = &#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 one more div with a particular id eg. (id = &#8220contenitore_generale&#8221)
4) assign a reference attribute to each individual discipline to be duplicated eg. &#38lt enter alt=&#8221nome&#8221 &#38gt
this attribute will be the fixed section of the &#8220Identify&#8221 and &#8220ID&#8221, in this situation:
looking at the discipline &#38lt input alt=&#8221nome&#8221 &#38gt
will become
&#38lt enter alt=&#8221nome&#8221 name=&#8221nome_ 1 &#8221 id=&#8221nome_ 1 &#8221 &#38gt
click on include &#8230
&#38lt input alt=&#8221nome&#8221 identify=&#8221nome_ 2 &#8221 id=&#8221nome_ 2 &#8221 &#38gt
etc&#8230
This will allow the web page acquiring the request to receive the value of a certain input or basically differentiate involving them
also makes it possible for differentiation of the id to act on the elements by way of JS uniquely

Innovative Options :
1) implementation of a type of validation to the addition of fields:

  • class to point out the binding of a industry
  • course to reveal that a discipline ought to be numeric
  • class to indicate that a area must comprise an e-mail
  • class to show that a discipline must incorporate a date in the format dd / mm / yyyy

2) callback capabilities are accessible following the addition and immediately after removing of fields

3) duplication of all the attributes of copy fields for consistency


Source