Skip to content

Instantly share code, notes, and snippets.

Last active Apr 18, 2017
What would you like to do?
Move zip field next to state in WPForms
// Move zip in form
var $this = $(this),
$zipField = $this.find('.wpforms-field-row-block').last(),
$thirdRow = $this.find('.wpforms-field-row:nth-last-child(2)');
$thirdRow.find('.wpforms-one-half').toggleClass('wpforms-one-half wpforms-one-third');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment