In CF6 it was possible to create sections and give them a name, e.g. "bottomsection".
You could then insert a text field in this section, for example.
You could then use the following shortcode in a custom HTML field to display the bottomsection there: {section:bottomsection}.
How can I do this in CF8?
Many thanks for your help!
May I know the scenario in which you are trying to do this ? v8 does not have a display section but it can be added if it's necessary
Thank you for your reply. I hadn't expected it anymore 🙂
I use the scenario when I design the form as HTML, for example, and want to insert an upload field there, or a calendar, etc.
The SECTION function is very helpful for me and I would like to design my forms with CF8. But without this function it is almost impossible for me. And I also don't want to use CF6 for new projects.Â
So it would be great if you could implement this function as soon as possible or at least tell me how I could do it myself in the meantime. Thanks a lot for your always great job !!!
Check this tutorial:
How to use your own HTML code in ChronoForms - ChronoForms8
Thank you very much for your reply.
Yes, you understood me correctly, I am making my form in CUSTOM HTML. But I would also like to load a section there, as was possible in CF6, with the code {section:bottomsection}.Â
Do you understand what I mean?
Thanks and regards Klaus
Hi kgw
with the latest v8.0.21 you can call any views or actions using this syntax:
{view:view_name} or {fn:action_name} or {action:action_name}
does this solve your problem ?
Hello Max,
Thank you for your reply. I have now installed version 8.0.21, but unfortunately I can't manage to integrate the calendar into my HTML content, for example. Can you please make me a small example and make it available for download here?
Thank you very muchKlaus
please explain to me in steps how did your form work before so I can tell you how to do it in v8
Generally, you can place your HTML in a HTML view, and if you want to call this view from another page then you just use {view:html_view_name}
is this what you need ?
Hello Max,I have a form with 1x HTML content and 1x a calendar with the alias "calendar1".
If I insert {view:field_calendar1} in the HTML code, the calendar is displayed twice. However, it should only be displayed once.
For this reason, I have always created a section in CF6 (e.g. mysectionname) and stored the calendar there. I then inserted {section:mysectionname} in the HTML code.
I hope this makes it easier for you to understand.
Greetings Klaus
yes, so in v8, add 2 views, the calendar and the html, then enable the "wizard settings" behavior in the calendar and make the calendar "disabled", that will hide the calendar if you display the form, but then you can rely on calling the calendar using {view:calendar_view_name} in your html
let me know if you need a screenshot
Hello Max,
yes a screenshot would be very helpful for me, thank you very much :)
here you are, your form page has 2 views, the calendar is disabled, and you call it in html
you are welcome! 😃