Hide section

I have a combo box with 2 values : Projects and Tasks

I have a section with an attached document in my form.

If i select “Projects”, i want to hide my section in my form.

If i select “Task”, i want to display my section in my form.

How to do that in Lotus script.

Thanks for you help