Forum OpenACS Development: Re: Show/hide fields based on the different inputs

Collapse
Posted by kousalya S on
I removed <master> tag.
now I can view the fields but

when I select the options in the field1 the javascript doesnot call brian2.tcl file.

I couldnot find where the mistake is.

Collapse
Posted by Brian Fenton on
Ok, there's probably something else in my install that is not in your's. I don't really have time to hold your hand on this one, but try the following.

First thing is to check for errors in the AOLserver error log and also in Firefox's "Error Console".

Second, can you run brian2 directly in the browser and check that it's working fine (you should see the ns_log entry). It should just return raw HTML like this:

<label for="field2">Field2:</label>
<select name="field2" id="field2" multiple="multiple" >
<option value="a">Apple</option>
<option value="b">Brian</option>
<option value="c">Carrot</option>
</select>

Brian