<div dir="ltr">Hi Andrew, <div><br></div><div>I am writing a govuk gem for this at the moment.</div><div>Drop me a line at <a href="mailto:max.mills@digital.education.gov.uk">max.mills@digital.education.gov.uk</a></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div><br></div><div>Max Mills</div><div>07941327432</div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 9:39 PM <<a href="mailto:chat-request@lists.lrug.org">chat-request@lists.lrug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Chat mailing list submissions to<br>
<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:chat-request@lists.lrug.org" target="_blank">chat-request@lists.lrug.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:chat-owner@lists.lrug.org" target="_blank">chat-owner@lists.lrug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Chat digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> (Andrew Stewart)<br>
2. Re: Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> (Steve)<br>
3. Re: Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> (Andrew Stewart)<br>
4. Re: Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> (Ed Davey)<br>
5. Re: Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> (Murray Steele)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 1 Feb 2021 11:39:03 +0000<br>
From: Andrew Stewart <<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>><br>
Subject: [LRUG] Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a><br>
Message-ID:<br>
<<a href="mailto:2D3F8853-AF5D-48FB-B641-0ABC3B77C6BB@airbladesoftware.com" target="_blank">2D3F8853-AF5D-48FB-B641-0ABC3B77C6BB@airbladesoftware.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hello LRUG!<br>
<br>
I have been wondering how <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> implements its multi-step forms. They generally ask one or two questions per page, with validations, over however many pages are needed. You can go back and forward through the pages and come back later.<br>
<br>
I (think I) know how I would implement this but I'm curious to see their implementation. However I can't seem to find it among their hundreds of repos on GitHub. Can anybody point me in the right direction please?<br>
<br>
Many thanks!<br>
<br>
Yours,<br>
<br>
Andrew Stewart<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 1 Feb 2021 11:46:16 +0000<br>
From: Steve <<a href="mailto:steve.laing@gmail.com" target="_blank">steve.laing@gmail.com</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>><br>
Subject: Re: [LRUG] Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a><br>
Message-ID:<br>
<CAKD0PpUK8iLPSuDfBmCYyBY59YYz=<a href="mailto:2k3ZQP%2BPT0UQqt4eZRfqA@mail.gmail.com" target="_blank">2k3ZQP+PT0UQqt4eZRfqA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Andrew<br>
<br>
The most commonly used/abused library for things like<br>
choose-your-own-adventure question flow is<br>
<a href="https://github.com/alphagov/smart-answers" rel="noreferrer" target="_blank">https://github.com/alphagov/smart-answers</a>.<br>
<br>
Steve<br>
<br>
On Mon, 1 Feb 2021 at 11:39, Andrew Stewart <<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>><br>
wrote:<br>
<br>
> Hello LRUG!<br>
><br>
> I have been wondering how <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> implements its multi-step forms. They<br>
> generally ask one or two questions per page, with validations, over however<br>
> many pages are needed. You can go back and forward through the pages and<br>
> come back later.<br>
><br>
> I (think I) know how I would implement this but I'm curious to see their<br>
> implementation. However I can't seem to find it among their hundreds of<br>
> repos on GitHub. Can anybody point me in the right direction please?<br>
><br>
> Many thanks!<br>
><br>
> Yours,<br>
><br>
> Andrew Stewart<br>
><br>
><br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
> Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
> Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
> List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
<br>
<br>
-- <br>
<a href="https://github.com/steventux" rel="noreferrer" target="_blank">https://github.com/steventux</a><br>
<a href="http://uk.linkedin.com/in/stephenlaing" rel="noreferrer" target="_blank">http://uk.linkedin.com/in/stephenlaing</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/849e459f/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/849e459f/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 1 Feb 2021 11:49:15 +0000<br>
From: Andrew Stewart <<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>><br>
Subject: Re: [LRUG] Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a><br>
Message-ID:<br>
<<a href="mailto:41169728-C18A-4A73-B930-49B02F2BDAD1@airbladesoftware.com" target="_blank">41169728-C18A-4A73-B930-49B02F2BDAD1@airbladesoftware.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<br>
> On 1 Feb 2021, at 11:46 am, Steve <<a href="mailto:steve.laing@gmail.com" target="_blank">steve.laing@gmail.com</a>> wrote:<br>
> <br>
> The most commonly used/abused library for things like choose-your-own-adventure question flow is <a href="https://github.com/alphagov/smart-answers" rel="noreferrer" target="_blank">https://github.com/alphagov/smart-answers</a> <<a href="https://github.com/alphagov/smart-answers" rel="noreferrer" target="_blank">https://github.com/alphagov/smart-answers</a>>.<br>
<br>
Thanks, Steve, that's exactly what I was looking for.<br>
<br>
Much appreciated,<br>
Andrew<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/b10012a3/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/b10012a3/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 1 Feb 2021 13:43:11 +0000<br>
From: Ed Davey <<a href="mailto:ed@veryreal.co.uk" target="_blank">ed@veryreal.co.uk</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>><br>
Subject: Re: [LRUG] Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a><br>
Message-ID: <<a href="mailto:86F533C7-8F7D-41A2-A50A-E841F08D7FA0@veryreal.co.uk" target="_blank">86F533C7-8F7D-41A2-A50A-E841F08D7FA0@veryreal.co.uk</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Also, Duncan Brown's excellent presentation to the group in Sept on this exact topic. An in-depth look at the issues of where to place responsibility for validation and redirection etc...<br>
<br>
<a href="https://assets.lrug.org/videos/2020/september/duncan-brown-wizards-without-magic-lrug-sep-2020.mp4" rel="noreferrer" target="_blank">https://assets.lrug.org/videos/2020/september/duncan-brown-wizards-without-magic-lrug-sep-2020.mp4</a><br>
<br>
Ed<br>
<br>
> On 1 Feb 2021, at 11:39, Andrew Stewart <<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>> wrote:<br>
> <br>
> Hello LRUG!<br>
> <br>
> I have been wondering how <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> implements its multi-step forms. They generally ask one or two questions per page, with validations, over however many pages are needed. You can go back and forward through the pages and come back later.<br>
> <br>
> I (think I) know how I would implement this but I'm curious to see their implementation. However I can't seem to find it among their hundreds of repos on GitHub. Can anybody point me in the right direction please?<br>
> <br>
> Many thanks!<br>
> <br>
> Yours,<br>
> <br>
> Andrew Stewart<br>
> <br>
> <br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
> Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
> Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
> List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 1 Feb 2021 14:41:27 +0000<br>
From: Murray Steele <<a href="mailto:murray.steele@gmail.com" target="_blank">murray.steele@gmail.com</a>><br>
To: London Ruby Users Group <<a href="mailto:chat@lists.lrug.org" target="_blank">chat@lists.lrug.org</a>><br>
Subject: Re: [LRUG] Multi-step forms on <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a><br>
Message-ID:<br>
<<a href="mailto:CABUDGcqMEffPsHOeixY7USiFKFPPj6faN-OAgVKV2hZhteesMg@mail.gmail.com" target="_blank">CABUDGcqMEffPsHOeixY7USiFKFPPj6faN-OAgVKV2hZhteesMg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I had a vauge memory of talking about this a while ago and found this<br>
thread:<br>
<a href="http://lists.lrug.org/pipermail/chat-lrug.org/2018-February/012212.html" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org/2018-February/012212.html</a><br>
(this is the first message, you can trawl the mailman navigation to read<br>
the rest of the thread). Smart Answers comes up but so does the verify<br>
frontend which might be worth looking into.<br>
<br>
On Mon, 1 Feb 2021 at 13:43, Ed Davey <<a href="mailto:ed@veryreal.co.uk" target="_blank">ed@veryreal.co.uk</a>> wrote:<br>
<br>
> Also, Duncan Brown's excellent presentation to the group in Sept on this<br>
> exact topic. An in-depth look at the issues of where to place<br>
> responsibility for validation and redirection etc...<br>
><br>
><br>
> <a href="https://assets.lrug.org/videos/2020/september/duncan-brown-wizards-without-magic-lrug-sep-2020.mp4" rel="noreferrer" target="_blank">https://assets.lrug.org/videos/2020/september/duncan-brown-wizards-without-magic-lrug-sep-2020.mp4</a><br>
><br>
> Ed<br>
><br>
> > On 1 Feb 2021, at 11:39, Andrew Stewart <<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>><br>
> wrote:<br>
> ><br>
> > Hello LRUG!<br>
> ><br>
> > I have been wondering how <a href="http://gov.uk" rel="noreferrer" target="_blank">gov.uk</a> implements its multi-step forms. They<br>
> generally ask one or two questions per page, with validations, over however<br>
> many pages are needed. You can go back and forward through the pages and<br>
> come back later.<br>
> ><br>
> > I (think I) know how I would implement this but I'm curious to see their<br>
> implementation. However I can't seem to find it among their hundreds of<br>
> repos on GitHub. Can anybody point me in the right direction please?<br>
> ><br>
> > Many thanks!<br>
> ><br>
> > Yours,<br>
> ><br>
> > Andrew Stewart<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Chat mailing list<br>
> > <a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
> > Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
> > Manage your subscription:<br>
> <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
> > List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
> Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
> Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
> List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/940047d3/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20210201/940047d3/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" rel="noreferrer" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Chat Digest, Vol 181, Issue 1<br>
************************************<br>
</blockquote></div>