Not sure if this is possible in WF, but I’m looking to find someone who can help custom code a specific scenario for our lead generation site.
We’ve created an ebook and would like to restrict the chapter content to a short teaser paragraph or excerpt until the user has filled out our lead gen form.
The site is built and we only need the custom code work. Code ninjas only please!
With @gilson’s help, I’ve come up with a solution. It involves creating another collection for chapter previews that dynamically redirect users to the matching full chapter once they submit their information.
Happy to share it once completed. Please like this comment to be notified
Hey @SarahK, what I did wasn’t the most robust solution, but it works.
Let me give you an example:
Create two collections
Chapters
Full chapters
Give it a reference field to Chapters
In the Chapters Template, add a form
Change to the form success state and add a Link
Point the link to the dynamic collection Chapter
That’s it. When someone sees you chapter page, he/she will see a form, and after sending the form, will get a link to the Full Chapter right on the page.
The cons:
Since it’s not a proper authentication system, the user will have to post a form submit every visit.
If anyone knows the URL can just paste/type it in the browser address bar and it hasn’t any password or login protection.