This tutorial is a bit advanced and requires you to understand some basic scripting concepts and be familiar with JavaScript and understand what REST APIs are
We will create OWN interface for ConfiForms form with own images and totally the way we want.
Here, we build a custom feedback form, with just 2 images
Thumbs up and thumbs down to capture user's feedback
When a user clicks on "thumbs down" image then a textarea with an opportunity to provide some feedback text is given
To support this, we have a ConfiForms Form configured as follows:
Just 2 fields:
feedback field of type "checkbox" to store "true/false" for the feedback give
comment field of type "textarea" to hold the comment text a user might give when "thumbs down" image is clicked
This is how we added "thumbs up" and "thumbs down" icons to the page
So, it is a custom HTML with some markup, left side is just an image and on the right side we have an image and a form with a field to type a comment
All the stuff is done with a javascript and ConfiForms REST API
Basically, we add "on click" handlers to images, and use ConfiForms RESt API to insert a record into a corresponding form.
Code is duplicated for each image handler for clarity