Calendar position

Position a CF calendar field within custom HTML.

Overview

The calendar field cannot be directly placed inside custom HTML in the Designer tab.
Create a separate section for the calendar field and then call it within your HTML action using the appropriate section shortcode.

Answered
ChronoForms v6
me meiner 21 May, 2018
Hi!

I inserted a calendar field in Designer tab, but i want to put calendar inside custom html. I can't find how to do that. I used various shortcodes like {var:field_name}, {data:field_name} but only {view:field_name} works but with this option displayed 2 calendar inputs with the same setup.
he healyhatman 21 May, 2018
Answer
You can either:

1) Put a custom HTML at the top and bottom with the calendar in the middle (dumb terrible idea)
2) put the calendar in a separate section (input at the bottom of the designer tab) and call the section shortcode in your HTML action with {section:section_name}
me meiner 21 May, 2018
Thanks you very much. Of course the second choice is better than the first. I searched in semantic-ui-calendar in github to insert icon trigger but i didn't find any choice. Is this true?
This topic is locked and no more replies can be posted.