need help in integrating form code

9 replies
Hi,

Im collecting name email from user, additionally there will be one drop down with 3 choices, based on the dropdown selection user has to be routed to particular list. Say each choice has each list associated with it.

Based on dropdown selection the name and email should be passed to the list.

cat, dog, rabbit... based on selection name and email id should be passed to cat, dog rabbit list...

Struggling to accomplish.

can anyone help?

Thanks a lot!!!

P.S: all the micro sites are not helpful when needed!! need to wait for replies

P.P.S: THIS IS NOT WITH AWEBER.
#autoresponder #code #form #integrating
  • Profile picture of the author CrhisD
    After form submission you should have 3 fields (name, email, list selection.) Have a field in the database called list_selection or whatever, and store the choice in there. When you retrieve the list for mailing, the field will tell you which newsletter to mail.
    {{ DiscussionBoard.errors[2987441].message }}
    • Profile picture of the author jaiganeshv
      Originally Posted by CrhisD View Post

      After form submission you should have 3 fields (name, email, list selection.) Have a field in the database called list_selection or whatever, and store the choice in there. When you retrieve the list for mailing, the field will tell you which newsletter to mail.

      Im using third party autoresponders. Im using trafficwave.net here...so i dont think storing in database works?

      thanks.
      {{ DiscussionBoard.errors[2987502].message }}
      • Profile picture of the author Eager2SEO
        Originally Posted by jaiganeshv View Post

        Im using third party autoresponders. Im using trafficwave.net here...so i dont think storing in database works?

        thanks.
        I'm confused.

        You have a form that you wrote that asks for an email address and has a drop down box with options?

        You want to send this information to a third party site?

        Does the site accept GET and POST requests?
        Signature

        Available for article writing or <?php | .net ?> programming work! Article samples available on request.

        {{ DiscussionBoard.errors[2987745].message }}
        • Profile picture of the author jaiganeshv
          Originally Posted by Eager2SEO View Post

          I'm confused.

          You have a form that you wrote that asks for an email address and has a drop down box with options?

          You want to send this information to a third party site?

          Does the site accept GET and POST requests?
          Not to third party site simply.. as i stated above i need to integrate with autoresponder form code.. its basically 3 form codes integrated with one form.. based on dropdown selection name and email should be sent to particular form....
          {{ DiscussionBoard.errors[2989664].message }}
  • Profile picture of the author SteveJohnson
    You have to be careful with this because you'll quickly run into trouble with your autoresponder company.

    The only viable way to do it is to use javascript to manipulate the "action" address of the form after the user has chosen the dropdown.

    If you send the form to another page for processing by PHP (to check the form field value) you'll have to send the form to the A/R by either a javascript submit event or via curl, both of which will get flagged at the a/r as invalid submissions - because the USER didn't push the final button.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[2995143].message }}
    • Profile picture of the author jaiganeshv
      Originally Posted by SteveJohnson View Post

      You have to be careful with this because you'll quickly run into trouble with your autoresponder company.
      I did not understand the trouble involved in it. Basically im running 4-5 campaigns. To make it easier for user to select his choice.

      if not it will look like,

      if option a: give name and email in this form 1
      if option b: give name and email in this form 2
      if option c: give name and email in this form 3

      i dont want to have three forms in one page!!!

      thank you.
      {{ DiscussionBoard.errors[2995436].message }}
  • Profile picture of the author trafficwave
    If I'm understanding your request, you would actually just change the field type where your autoresponder campaign is specified and create the options. The form data should be pushed through to which ever list is selected.

    You'll want to be sure that each campaign is set up to capture the same data in the same format to avoid any issues there.

    In your TrafficWave.net form code, you want to look for the line that looks like this:

    (input type=hidden name="series" value="form1")

    Change the type and create the pulldown options to list the campaigns you want them to choose from and you should be good to go.
    Signature

    -----------------------------
    Brian Rooney, CEO
    TrafficWave.net Email Marketing AutoResponders
    Email Marketing Blog

    {{ DiscussionBoard.errors[3016450].message }}

Trending Topics