Product Documentation

Adding Conditional Logic

Conditional Logic allows you to configure your Ticket Submission form to show/hide fields,  or even the submit button based on user selections. This allows you to make the looks more compact than it really is, and also provide a better user experience for your WordPress users.

Demo video

Still confused? Have a look at our video (Ad blockers or privacy mode in browsers can prevent the video from displaying):

Please bear in mind that Conditional Logic is not built-in (there’s no GUI to create conditional logic). To manually customize the Ticket Submission form, you need to have some basic PHP & jQuery knowledge.

The code

Please check out the code below or download the example plugin. This example demonstrates how to do conditional logic with Select dropdown, Checkbox and Radio.

https://gist.github.com/SiamKreative/735845931f04a9a44f6b

See Also

Smart Chat
Smart Replies add-on Chat X