Archives

Working with jQuery

Changing Field Values

When changing the value of a Ninja Forms field with jQuery, it is required that you also trigger a change event on the field’s input. var fieldID = 197; var newValue = 'compactpro'; jQuery( '#nf-field-' + fieldID ).val( newValue ).trigger( …

Continue reading