ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Getting form to remember dynamic parameters submitted after page reload

January 08, 2012 1:35pm

Subscribe [1]
  • #1 / Jan 08, 2012 1:35pm

    Wojtek D

    16 posts

    I am following the code on this page closely
    http://ellislab.com/expressionengine/user-guide/modules/channel/dynamic_parameters.html
    to create a page with a form where the user selects a channel, orderby, sort etc.

    The same template that has the form also has the channel:entries tag that reads the POST data. Each time the page is reloaded, the form values are reset to the initial states.

    I would like them to reflect the POST data, so that the user remembers what they selected last time - rather than getting the same setting on every reload:

    Is there some EE-native way of doing this? Or an extension for getting the form to read and display the POST settings it has posted to the same page?

    I hope I have explained this clearly. Many thanks for any help!

  • #2 / Jan 09, 2012 8:21pm

    Sean C. Smith

    3818 posts

    Hi Wojtek D,

    It’s not possible to do that out of the box with EE, but I searched Devot://ee and found four add-ons that let you work with Post data: GET and POST Variables, Access Post Variable, EvoPost and GET_POST_Var. Let me know if that helps you out.

    Sean

  • #3 / Jan 10, 2012 7:15am

    Wojtek D

    16 posts

    Thank you, I ended up using Mo’ Variables to get data from the POST.

  • #4 / Jan 10, 2012 6:35pm

    Sean C. Smith

    3818 posts

    Glad you found a solution. Feel free to post again if you need more assistance.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases