This object is in archive! 

Is it possible to pre-populate form fields via url parameters?

Aaron K. shared this question 10 years ago
Answered
Best Answer
photo

Yes, but it requires some code on your quote page.

1. Go to Settings->Customer Pages

2. Click Advanced and edit

3. On the Quote Page, click the <> to view the source

4. Paste the following in at the top.


Comments (7)

photo
1

Yes, but it requires some code on your quote page.

1. Go to Settings->Customer Pages

2. Click Advanced and edit

3. On the Quote Page, click the <> to view the source

4. Paste the following in at the top.


photo
1

Thanks for the speedy response!


Ok, I have added the above code to the <head> section of the quote page. See: http://cl.ly/XgJX


I am using the following link: http://www.inflatableoffice.com/quotes/index.php?vendor=brixdaypartyllc&rentals[]=202424 but it's not populating the checkbox field.


Any ideas?

photo
1

I updated the code above due to a mistake. Please try it again

photo
1

The editor was screwing up the code. I attached it as a file.

photo
1

Ok I have updated with the revised code that you sent. There are no more console errors which is good but unfortunately neither of the originally mentioned links are populating the checkbox field. See: http://cl.ly/Xfui


Again, your help is really appreciated.

photo
1

It's still not working for some reason. There are no more console errors though which is good.


Am I formatting my link incorrectly?

photo
1

I fixed it for you. You only need the word 'rentals' as a url parameter. It will only work for one item at a time.

Replies have been locked on this page!