How to reference a checkbox value to show/hide fields in a Form

How to reference a checkbox value to show/hide fields in a Form

Hi,

I have been using Creator for about 6 weeks to create an urgently required system and have found it very easy to pick up and produce a usable system for my users that is meeting all our expectations.  

Most of the system has now gone live and our users have added over 3000 records in it in the last two weeks!  

However, additional functionality has been requested which I am struggling to deliver because I can't find reference material to assist me in this learning process.

I have a form where I need users to select one or more options.  My only choice for this option is to use checkboxes. However, despite trawling through the forum and help, I am struggling to understand how I can reference a value in the checkbox string in order to show specific fields on the form.

For example, the options the users have to choose from in the checkboxes are:

1) Single Student
2) Multiple Students
3) Individual Staff
4) All Staff
5) Members of the Public.
6) Other (please specify

Depending on the option(s) selected, there are hidden fields I need to appear.  For example, if user1 selects 4) and 5), I need for some hidden fields to appear for data entry accordingly.  If user2 selects 2) and 6), again, other hidden fields need to appear.

If I was using a pulldown list or radio buttons where only one option is available, it is easy to hide/show fields.  However, I am looking for example deluge syntax for use with checkboxes as these are recorded as string values.  

Does anyone have knowledge of example code or applications that use this type of functionality within their deluge scripts?  Alternatively, can anyone point me to any deluge functions I should be using to define values within strings and perform an action accordingly?

Thanks very much