This is a template where Nick is experimenting with options on sign-up pages.
- We can use accordions. See below. You just need to whack a bit of code into the template bit of the NationBuilder page.
- We can embed tables reading from a google sheet.
- We can embed google forms. To do this, make a google form like the cracking example I made below. When you build it make sure that under "Settings" and "Responses" you have made the form viewable for everyone. Then click the "Send" button and, in the dialogue that opens, click "<>". You'll see some HTML code for embedding. Copy the code and whack it into the template bit of the NationBuilder page. One thing I noticed was that, when I submitted a response through this form, I got my google form's "thanks for submitting a response" message... and everything BELOW the form had disappeared (the old template stuff). So if we use this embedding process, our form will need to be at the bottom of the page.
- I wonder whether we can just get our NationBuilder form to submit responses direct to a google sheet? There is a guide to this, although it's probably better to use the original code as this is slightly different and actually works.. Here's the sheet I want to import responses into. Very roughly:
- You need some a javascript extension to be added into your google sheet. You can see this by clicking "Extension >> App script" on the google sheet linked above.
- You need to set a "trigger" for this extension. The process is described in the original code link above. This trigger has an associated URL.
- You need to set up a google form whose entries are given "names" which correspond to the "header row" in tab "Sheet 1" of the linked google sheet. Just look at the template to confirm this. The "post action" of the google form needs to be the URL associated with the trigger.
- There are still some things to be done:
- We want it to be able to display a proper thank you page instead of the weird code dump that currently appears when you click "SEND".
- We can embed interactives showing population demographics from the ONS. Wowser.
https://wistia.com/demo?wchannelid=rs59uqxakj&wmediaid=hm7voajxep
THE NEXT BIT IS THE NEW ACCORDION STUFF!!
The assembly will be held online on the following dates and times:
- Monday 8th October at whereversville
- Tuesday 9th October even further away.
- Every person who registers online must have their own individual email address. If you do not have an email address, or you share one with someone else who is registering, please ring the Freephone number above to register.
- All fields marked with an asterisk (*) must be completed.
- Your data will be kept strictly confidential. All your contact, attitudinal and demographic details will be shared with Delivery organisation, the organisation running this event, who will make a separate data agreement with you if you are selected to take part. We will delete your details within one year of the completion of the event, unless you tell us otherwise below. Please read our Privacy Policy for more details.
- At any time, you can withdraw your consent and ask us to delete your data, or request a copy of it, by emailing [email protected]. If you ask us to delete your data, we will tell the other organisation(s) listed above to do the same.
THE NEXT BIT SHOWS HOW TO EMBED A VIDEO
Note that the code is not QUITE what you get when you click "share" on video. You need some stuff to deal with cookies, so you should have a look at the template for this page to see the two things you need to add. Namely,- add this inside the iframe code: data-cookieconsent="marketing"
- replace "src" with "data-cookieblock-src" inside the iframe code.
- you need a little div placeholder that prompts people to accept cookies if they want to watch the video. Look at the template to see this.