the method getGuestListSearchField() is created by Touch based on the ref(erence) "guestListSearchField" at the start of the controller (in the refs section).
Originally Posted by stevwinata
When you need to access other fields you will have to write a reference to that field. F.e. if you have a textfield in your form that has the property name: 'guestName' then you could write:
This will let Touch to create a getter (and a setter) for you. So when you need to access the field you could write
guestListSearchField: 'guestlist searchfield',
guestFormGuestNameField: 'guestform textfield[name=guestName]',
This is ok to access single fields. But when it is about to access a whole form you better use something like this
var name = this.getGuestFormGuestNameField().getValue();
This will retrieve all NAMED field values (=fields that have the attribute NAME set).
var formValues = this.getGuestForm().getValues();