How do I create a landing page for a survey that i created in Quick Base?

  • 1
  • 1
  • Question
  • Updated 1 year ago
  • Answered
I created a survey which we plan on using as part as a product purchase follow up on user experience. The plan is we sent them the link to the "public" using the end tag "&ifv=1", and after they answer the survey we're looking to have a page come up that says "thank you". Basically, a page that doesn't land back to quick base. How would I do this?
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
  • 1
Photo of Joey Zint

Joey Zint

  • 1,508 Points 1k badge 2x thumb
Create an html code page and add a redirect to your button in your form. If you have a save button in the survey, you can put the redirect there

HTML code page similar to this

<p style="font-size: medium; text-align: center;"><strong><span style="font-size: 16pt;"><img alt="" src="path to an image if you want one"; /></span></strong></p>

<p style="font-size: medium; text-align: center;"><strong><span style="font-size: 16pt;">&nbsp;</span></strong></p>

<p style="font-size: medium; text-align: center;"><strong><span style="font-size: 16pt;">Thank you for your response.</span></strong></p>

<p style="font-size: medium; text-align: center;"><strong><span style="font-size: 16pt;">We have noted that you have accepted our quote and we will be in touch with you to schedule the repairs.</span></strong></p>

Redirect to add to the code for your save/submit button

& "&rdr=" & URLEncode("https://your QuickBase URL=showpage&pageid=8")

The 8 in the string above is the page ID of your code page

You can use an HTML editor to write the message and then format it with the HTML code

Here is one that I have used
https://html-online.com/editor/
(Edited)
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb
the code page would be just a text-based form? (new to this, sorry)

and the redirect code you display goes into the submit code I have, at then end?
Photo of Joey Zint

Joey Zint

  • 1,508 Points 1k badge 2x thumb
Yes, if you go the the home setting for your app you will see an option for pages, select new page and Code Page. Not sure what the code is for your Submit button but I am guessing it ends with something similar to [Record ID#]...the redirect code would go after that


Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb
I tried doing as you suggested and only got errors. Is there a more layman's way of doing this? Or, can someone create to show me?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,486 Points 50k badge 2x thumb
The low tech approach is to make a native Quick Base form with the words on it that you want.  The words can be done using a "text element' on the form, but you will get more flexibility if you create a formula text field because then you can use full html.

Then set that form as the one to use for your "everyone on the Internet Role in View mode.

So they use the regular survey form to answer the questions, and then in View mode they will just see the Thank You form.

  
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb
how would I go about setting that up?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,486 Points 50k badge 2x thumb
No problem.

Just go to Settings for the table and then Forms and then make a new form.  Once you have more than one form created, Quick Base needs to know which form to use, so a new section opens up in forms management to let you specify which form to use for which roles in which "modes", such a  Edit or View.
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb
thanks. it didn't work for me but I appreciate the help. whether it's how I set up the survey or what, but nothing happened when I created another form. 
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,486 Points 50k badge 2x thumb
If you have the form selected, did you then locate the section where you specify the use of the form?

After having some that, set up a Role for everyone on the internet.  Then specify that Thank You form to be used in View mode for that Role.
Photo of Joey Zint

Joey Zint

  • 1,508 Points 1k badge 2x thumb
So in this example I created two buttons in a notification email....the code below happens to be in the Accept Button (Formula URL)

I am updating a checkbox to yes (field id 110 on the form)

The second line of code is the redirect to page ID 8. This would be the id of the code page your created.

URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=YOUR APP TOKEN&_fid_110=yes&rid=" & [Record ID#]

 & "&rdr=" & URLEncode("https://YOURACCOUNT.QUICKBASE.COM/db/... DBID?a=showpage&pageid=8")
(Edited)
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb
thanks. I really appreciate the help. This is overly complex for me having no coding knowledge what so ever. I think I just don't understand how to take your example and fit it to what I'm looking for. That's more my problem, but still, want to thank you for your time.