I am creating Content Fragment model for a react component and there is requirement to show a set of fields if a checkbox is true for the content authors. Is that possible to implement?
For example, if the author checks "show message on expiry" it should display a text field to get message as input. Otherwise the message field should be hidden.
Solved! Go to Solution.
Views
Replies
Total Likes
@phaiza If the requirement is strictly for the front-end display, you can handle the logic in your React component. The Content Fragment can expose all fields, and the React component can determine which fields to display based on the checkbox's value.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies