Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting form data from action helper #102

Open
fxv opened this issue May 12, 2016 · 3 comments
Open

Getting form data from action helper #102

fxv opened this issue May 12, 2016 · 3 comments

Comments

@fxv
Copy link

fxv commented May 12, 2016

Hi,
In the API reference it says:

The Action Function runs when the form is submitted. Data from the form fields is available directly from this.

I'm using space:template-controller where this inside the handlers is always a reference to the Template.instance(). How can I get the form data in this case?

@fxv
Copy link
Author

fxv commented May 12, 2016

I should have mentioned I can get the data from els from every element. Is that the best solution?

@bjornlll
Copy link

I've got the same issue. If it helps, here's my list of installed packages

meteor-base             # Packages every Meteor app needs to have
mobile-experience       # Packages for a great mobile UX
mongo                   # The database Meteor supports right now
blaze-html-templates    # Compile .html files into Meteor Blaze views
reactive-var            # Reactive variable for tracker
jquery                  # Helpful client-side library
tracker                 # Meteor's client-side reactive programming library

standard-minifier-css   # CSS minifier run for production mode
standard-minifier-js    # JS minifier run for production mode
es5-shim                # ECMAScript 5 compatibility for older browsers.
ecmascript              # Enable ECMAScript2015+ syntax in app code

autopublish             # Publish all data to the clients (for prototyping)
insecure                # Allow all DB writes from clients (for prototyping)


#
# Shared across admin and flow

semantic:ui
flemay:less-autoprefixer
kadira:flow-router
useraccounts:core
accounts-base
kadira:blaze-layout
accounts-password
useraccounts:semantic-ui
arillo:flow-router-helpers
alanning:roles
zimme:active-route
aldeed:collection2


#
# Used by flow app

dburles:google-maps


#
# Used in admin app

templates:forms
aldeed:simple-schema

@bjornlll
Copy link

@fxv did you manage to find a solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants