Results 1 to 3 of 3

Thread: Form submission - local

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    132

    Default Form submission - local

    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

  2. #2
    Sencha User hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966

    Default

    @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.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    132

    Default

    thanks,
    getValues() worked for me.

Similar Threads

  1. Ext.form extension to prepare checkboxes and dates in form for submission
    By Keith Chadwick in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 6 Jan 2010, 1:19 PM
  2. Form Submission not working
    By Tushar Joshi in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Dec 2009, 6:25 AM
  3. Custom Form Field and Form Submission Question
    By carlos.muentes in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 11 Sep 2009, 9:58 AM
  4. Form Submission
    By Lloyd K in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 26 Nov 2007, 1:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •