Terug naar overzicht

JS API

Blok ophalen

Get a field by its fieldname. The fieldname can be viewed and set in the Overig in the editor.

PeggyPay.getField("fieldName")

This will return a Javascript PeggyPayField class. With this class you can get or set the value, add events, manage state and add your custom validator.