Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reusable forms #629

Closed
Aneemes opened this issue Mar 14, 2024 · 2 comments
Closed

Reusable forms #629

Aneemes opened this issue Mar 14, 2024 · 2 comments
Labels
Type: Question Further information is requested

Comments

@Aneemes
Copy link

Aneemes commented Mar 14, 2024

I have been working on a project for a company, which reuires to have forms at the end of multiple pages, sort of like a feedback for a product or article. It would be a really useful addon to create a form and have an option to choose it in some types of pages.

@Aneemes Aneemes added the Type: Enhancement New feature or functionality change label Mar 14, 2024
@TheCodingSheikh
Copy link

you can, create a form page, and in the page you want to display the feedback form, add it as "page preview block" and choose the form page, it'll be displayed in the same page

@vsalvino
Copy link
Contributor

Yes, as describe above, you can create your Form page once. Then on any other page on the site, in the streamfield, choose "Page Preview Block". By default it will render the form in that spot in the streamfield.

You can customize the HTML/style of this preview by overriding the miniview_template attribute on the FormPage.

@vsalvino vsalvino added Type: Question Further information is requested and removed Type: Enhancement New feature or functionality change labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants