Passing variables in URL, what's wrong here?

Discussion in 'Troubleshooting' started by celina, Dec 13, 2010.

  1. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    Hey guys, it would be so great if someone can figure out what's going wrong here.

    I want to send an email out to a large list with a link to the sign up page with lots of the fields already filled in. I'm trying to create the URL to do that and am running into a weird issue: some variables are passing in one template, and aren't in a different template, although I can see no difference between the two.

    In the first template, both variables for first name and street, for example, pass through with no problem:

    http://www.bust.com/amember/signup....city=New York&street=streetaddress&zip=123456

    when using a different template that is brought up if the price_group = -5, some fields pass through fine, but others (such as the name fields) don't pass through at all

    http://www.bust.com/amember/signup....city=New York&street=streetaddress&zip=123456

    why are the first name and last name and email not passing through? the required fields don't seem to be passing, but they work fine in the other template and they are required there as well...hmmm
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    The problem seems to be in your template modifications.
    Can you attach your second template (or at least copy block that have inputs for name and email)
  3. celina

    celina Member

    Joined:
    Sep 9, 2008
    Messages:
    86
    oh my goodness, of course. I was looking at the source code of the html produced by each template, which had the value for those fields set as value "". But in the template, the original template had the value={$smarty.request.fieldname|escape} and the new template just had value=""

    sorry. that was dumb.

Share This Page