Capture field changes made using javascipt

I’m not sure how Postcode Anywhere works exactly, but once you do the Postcode lookup, you should update fields on row(s) in the relevant Skuid Models. For instance, if you have a Model called “Contact”, and you want to update the MailingPostalCode field for your Contact based on the data PostCode Anywhere gives you, do something like this in your JavaScript logic:

// The new address data from Postcode Anywhere
var newAddressData = {
    MailingStreet: ‘123 Main St’,
    MailingCity: ‘Chattanooga’,
    MailingState: ‘TN’,
    MailingPostalCode: ‘37409’
};

var ContactsModel = skuid.model.getModel(‘Contacts’);
var Contact = ContactsModel.getFirstRow();

ContactsModel.updateRow(Contact,newAddressData);