j.k.r Posted June 11, 2015 Share Posted June 11, 2015 I am working on a custom module and need some help getting user input. The module has few input fields (text, radio, etc.) and is hooked to the left column. I would like the user to be able to fill in those fields and then press a button to save his/her selections. When he/she presses the button, I would like to store the values in context->cookie variables so I can use them elsewhere in my module. I'd like it to be something like an ajax experience in that a new page doesn't get loaded when the button is pressed, but there is some feedback displayed in the module's .tpl file to let the user know that the values have been saved. What is the best way to accomplish this? I thought I could just call a php function in my module, but I haven't seen any examples that explain how to do that. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now