Methods
repeaterAddSub($form, repeaterDataId)
Append a new sub-entry to the repeater with the name repeaterDataId
inside the form $form
Parameters:
Name | Type | Description |
---|---|---|
$form |
String | JQuery | JQuery object or css-selector representing the form |
repeaterDataId |
String | data-id attribute of the repeater. Normally this is simply the name of the repeater. However, in case of a nested repeater you need to append the name with the correct suffix. For example |
- Source: