Before I start, I'm a new to jquery, but I'm loving everything I've learned.

I have a large form that has several hidden divs which become visible only if a specific input has a value or a specific checkbox is checked. Each div has a class called "start-hidden" which initially makes all of the div's hidden on page load. 

All of the values for the checkboxes and input boxes are stored in a database, and I want to make it so if someone comes back to the form to update something, it correctly "shows" the divs that should be visible (the ones with values or specific checks). 

Instead of writing a specific "if statement" for each field that I need to check, would it be possible to check all of the inputs within the divs that have the "start-hidden" class, and if the input is not empty, it will make that particular div visible?

Doing some research, I tried the following code, but I have a feeling i am completely off track.

```
    var inp = $(".start-hidden input").val();
    if(jQuery.trim(inp).length > 0){$(this).show();}

```

also, sometimes a "start-hidden" div might have another "start-hidden" div within it, I guess this would be a nested hidden div, but i need to make sure it only opens the parent div.

Hopefully this make sense to someone!

Thanks in advance!