From: Dr_Kral on 22 Mar 2010 21:32 On Mon, 22 Mar 2010 20:29:32 +0000, Geoff <geoff(a)invalid.invalid> wrote in <hokfq5t444unfv3mvl2mpmqqo1g09ssfen(a)4ax.com>: >>You might start with the other questionnaire form you referenced and add >>the few lines of code to show/hide the explanatory Q&A. >I have done exact;y that! Perhaps but it is not accessable. <<The requested URL http://www.micro-active.com/a-wm2/a-q-student-table.htm was not found on this server.>> K.
From: Geoff on 23 Mar 2010 03:09 On Mon, 22 Mar 2010 21:32:57 -0400, Dr_Kral(a)nyc.rr.com.invalid wrote: >On Mon, 22 Mar 2010 20:29:32 +0000, Geoff <geoff(a)invalid.invalid> wrote in ><hokfq5t444unfv3mvl2mpmqqo1g09ssfen(a)4ax.com>: > >>>You might start with the other questionnaire form you referenced and add >>>the few lines of code to show/hide the explanatory Q&A. > >>I have done exact;y that! > >Perhaps but it is not accessable. <<The requested URL >http://www.micro-active.com/a-wm2/a-q-student-table.htm was not found on >this server.>> sorry K, I have put it back at http://www.micro-active.com/a-wm2/a-q-student-wm2.htm Cheers Geoff
From: Dr_Kral on 23 Mar 2010 15:20 On Tue, 23 Mar 2010 07:09:40 +0000, Geoff <geoff(a)invalid.invalid> wrote in <p8qgq5hq8tvcb2pbegcgn1nb3l2qjh2ca0(a)4ax.com>: >I have put it back at > >http://www.micro-active.com/a-wm2/a-q-student-wm2.htm But without changes K
From: Geoff on 23 Mar 2010 18:49 On Tue, 23 Mar 2010 15:20:48 -0400, Dr_Kral(a)nyc.rr.com.invalid wrote: >On Tue, 23 Mar 2010 07:09:40 +0000, Geoff <geoff(a)invalid.invalid> wrote in ><p8qgq5hq8tvcb2pbegcgn1nb3l2qjh2ca0(a)4ax.com>: > >>I have put it back at >> >>http://www.micro-active.com/a-wm2/a-q-student-wm2.htm > >But without changes I am working on this but have a problem! I can use onfocus() for question 13/13a with the radio buttons to make 13a appear or disappear. But! With 16/16a when a user has selected the second of a set of 4 checkboxes 16a becomes visible. If the user changes his/her mind and unticks that checkbox - how can I get 16a to disappear? http://www.micro-active.com/a-wm2/a-q-student-wm2.htm Cheers Geoff
From: Dr_Kral on 23 Mar 2010 19:29
On Tue, 23 Mar 2010 22:49:35 +0000, Geoff <geoff(a)invalid.invalid> wrote in <bpgiq59f8tpk1uvqp863eutrgvo5bqcdce(a)4ax.com>: >I can use onfocus() for question 13/13a with the radio buttons to make >13a appear or disappear. > >But! With 16/16a when a user has selected the second of a set of 4 >checkboxes 16a becomes visible. If the user changes his/her mind and >unticks that checkbox - how can I get 16a to disappear? > >http://www.micro-active.com/a-wm2/a-q-student-wm2.htm When you get to a door how do you know if you should 'push' or 'pull' to open it? You read the sign that says 'push' or 'pull'. How do you know if you should show the secondary question? You read the check boxes. Rather than use 'onfocus' use 'onclick' which mean that you act after the respondent has acted. For all the check boxes you use onclick='showhide17()'. Then the function looks at all the boxes and decides if the secondary question should be shown or not. In this case, since only one check box matters, it can be simplified like the example I gave last week. You need to consider what reload whenn some thing have been filled in. |