Passing value to complicated form field

4 replies
I have this stupidly complicated Form Field which I'm trying to pass variables to.



This is the form....the field I'm struggling with is the very last field ('Referral').

https://listings.quipmo.com/en/signup


Any ideas how I'd structure the URL to pass a value to it?


The form must be using a GET method as other fields (such as 'Name') can successfully get passed values via a query string. The problem is the other fields have a cleaner naming convention than the one that I've shared above which isn't so clean!


It's based on a Sharetribe backend....
#complicated #field #form #passing
Avatar of Unregistered
  • Profile picture of the author Mehdi Fracso
    Hi @thefreedomchaser,
    what do you mean by pass variable to ?
    Do you mean collecting the value that a user types into this field (Referral in your case) ?

    I can help you but there isn't enough details in your post
    {{ DiscussionBoard.errors[11657493].message }}
    • Profile picture of the author thefreedomchaser
      Thanks for your offer to help. Basically I want to create URL that includes the 'referral' field within it, so that I can share it with our ambassadors and know when they refer a new user.
      {{ DiscussionBoard.errors[11657746].message }}
      • Profile picture of the author railsdev138
        Hey thefreedomchaser,

        Where you lose me is how are you getting this ID to begin with? What languages are you working with? How are you processing your form? What is the workflow from customer to form submission and beyond?

        If you're using Sharetribe, they should send back JSON objects with the pertinent information. Then when you process your form, you should be able to use any of the fields in the API response to get what you need.

        So, take a look at how you're handling the API responses and if possible give a detailed work flow process.
        {{ DiscussionBoard.errors[11657834].message }}
Avatar of Unregistered

Trending Topics