Forum Discussion

RyanRyan2's avatar
RyanRyan2
Qrew Assistant Captain
8 years ago

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

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?
  • 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/
  • RyanRyan2's avatar
    RyanRyan2
    Qrew Assistant Captain
    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?
  • 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


  • RyanRyan2's avatar
    RyanRyan2
    Qrew Assistant Captain
    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?
  • 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")
  • 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.

      
    • RyanRyan2's avatar
      RyanRyan2
      Qrew Assistant Captain
      how would I go about setting that up?
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      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.
    • RyanRyan2's avatar
      RyanRyan2
      Qrew Assistant Captain
      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. 
  • RyanRyan2's avatar
    RyanRyan2
    Qrew Assistant Captain
    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.