Basic Usage

Last Updated: 11/6/2024     Tags: jquery wrapper, basic usage
  • Switch Version
  • V5
  • V4

Once the defaults are configured, a form may be linked to Taguchi by calling the following method:

$('#formid').tmform({action: formtype, options});

where #formid is the ID of the form element to be linked, formtype is the type of the form (one of enter, subscribe, forward, or refer), and options is a series of key: value pairs used to override the values in $.tmform.defaults.