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.

SafeCracker: Pass Value of Custom field into Return Url parameter.

March 30, 2012 1:36pm

Subscribe [4]
  • #1 / Mar 30, 2012 1:36pm

    Hi,

    I am trying to find a way to pass a custom field value (determined by the user) into the return url parameter so I can use the global GET variable to pull information from my form into another form (on a different template).  What I would like to do is have the user submit one form and be redirected to the return url which consequently has another form on it that is related to the first.  I’m trying to determine the best way to pass along the value of the first form into the next form.  I have not found a way to pass the value of a custom field to the safecracker return parameter; thus allowing me to use a GET global variable with php.  If there is a way to do this (even a POST method or using the Query module) I could sure use some pointers in the right direction.

    Thanks,

    Troy

  • #2 / Mar 30, 2012 2:11pm

    ahmad saad

    364 posts

    you can use javascript or jquery to do this by changing the value in return_url hidden input.

  • #3 / Apr 02, 2012 10:54am

    Shane Eckert

    7174 posts

    Hey krondek,

    I am afraid my knowledge of JS and jQuery are limited.

    Does ahmad’s suggestion work for you?

    If not, I can move this over to the Community Help Forum or the Development and Programming forum. The Developers there will have a lot more experience with using JS and JQ.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases