PDA

View Full Version : Form submission - local



ssdesign
3 Aug 2010, 9:01 AM
Hi,
Is there a way such that the form submit button collects values from form and pass them to function within the app rather than make a url request?

I just want to use the form to alert a popup box for user to fill values which will be used in the app.

Cant seem to find my way around this.

thanks

hendricd
4 Aug 2010, 7:16 AM
@ssdesign --

Recent builds (.0.9.3) have added some new methods and submit features directly to the FormPanel.

You'll want to use the getValues method. It returns a hash of all fields and their values.

ssdesign
4 Aug 2010, 5:19 PM
thanks,
getValues() worked for me.