hello there,
if you go to question 5 and click the radio buttons, first
and second it
will give you 6a,6b,6c. When i click the third radio button
then i want to
hide 6a,6b,6c and have only 6a.
Is there that can help?
Thanks
Simeon
------------------------------------------------------------
---------------
<style>
DIV.questionAnswerPair {
margin-bottom: 15px;
float: left;
width: 100%;
}
DIV.hiddenIntro {
margin-bottom: 15px;
}
DIV.question {
width: 210px;
float: left;
}
DIV.answer {
float: left;
}
#qa_6, #qa_6d, #details_yes {
display: none;
}
</style>
<script language="JavaScript">
<!--
function detailsOpt() {
if(document.getElementById){
var yn =
bbcjs.forms.getValue(document.forms.birthmap_form.give_detai
ls);
var survey_box = document.getElementById('survey');
var dets_box = document.getElementById('details_yes');
if (yn == 'no') {
if (bbcjs.forms.validate(document.forms.birthmap_form))
document.forms.birthmap_form.submit();
}
else if (yn == 'yes' &&
bbcjs.forms.validate(document.forms.birthmap_form)){
survey_box.style.display = "none";
dets_box.style.display = "block";
document.location.href = "#formtop";
}
else if (yn == null) {
alert('Please specify if you wish to have a chance of
appearing in the
programmexx')
}
}
}
function make_see1(divId) {
document.getElementById(divId).style.display =
"block";
}
function make_hide1(divId,resetAr) {
document.getElementById(divId).style.display =
"none";
var f = document.forms.birthmap_form;
for (var i=0; i<resetAr.length; i++) {
bbcjs.forms.setValue(f[resetAr[i]], '')
}
}
bbcjs.forms.required.your_age = /^(16 to 25|26 to 34|35 to
49|50-plus)$/;
bbcjs.forms.req_err.your_age = "Please specify your
age.";
bbcjs.forms.required.your_sex = /^(Male|Female)$/;
bbcjs.forms.req_err.your_sex = "Please give your
sex";
bbcjs.forms.required.your_marital_status = /^(Never
Married|1st
Marriage|Re-married|Separated|Divorced|Widowed)$/;
bbcjs.forms.req_err.your_marital_status = "Please give
your marital status";
bbcjs.forms.required.where_you_live = bbcjs.regex.not_empty;
bbcjs.forms.req_err.where_you_live = "What’s the first
part of your
postcode, e.g. NW6";
bbcjs.forms.required.livarange = /^(Live with your
partner|Live separately
from your partner|Don’t have a partner)$/;
bbcjs.forms.req_err.livarange = "Your living
arrangements.";
bbcjs.forms.required.would_you_like_to_have_any_more_childre
n = /^(Yes,
definitely|Possibly yes|Probably not|Definitely not)$/;
bbcjs.forms.req_err.would_you_like_to_have_any_more_children
= "Would you
like to have any (more) children";
bbcjs.forms.required.would_your_partner_like_more_children =
/^(Yes,
definitely|Possibly yes|Probably not|Definitely not|I’m
currently
single)$/;
bbcjs.forms.req_err.would_your_partner_like_more_children =
"Would your
partner like (more) children";
bbcjs.forms.required.who_first_initiated_the_idea_of_having_
a_child =
/^(Mother|Father|Joint decision|Not planned)$/;
bbcjs.forms.req_err.who_first_initiated_the_idea_of_having_a
_child = "Who
first initiated the idea of having a child";
bbcjs.forms.required.was_the_father_present_at_the_birth =
/^(Yes|No)$/;
bbcjs.forms.req_err.was_the_father_present_at_the_birth =
"Was the father
present at the birth";
bbcjs.forms.required.did_the_father_take_paternity_leave =
/^(Yes|No)$/;
bbcjs.forms.req_err.did_the_father_take_paternity_leave =
"Did the father
take paternity leave";
bbcjs.forms.required.what_proportion_of_your_babys_care_was_
the_father_responsible_for_in_the_first_year
= /^(None or very little|Up to a quarter|About half|More
than half)$/;
bbcjs.forms.req_err.what_proportion_of_your_babys_care_was_t
he_father_responsible_for_in_the_first_year
= "What proportion of your baby’s care was the father
responsible for in
the first year";
bbcjs.forms.required.which_qualities_do_you_think_are_the_mo
st_important_in_a_father
= bbcjs.regex.not_empty;
bbcjs.forms.req_err.which_qualities_do_you_think_are_the_mos
t_important_in_a_father
= "Which qualities do you think are the most important
in a father";
bbcjs.forms.required.what_are_the_most_difficult_challenges_
for_stepfathers
= bbcjs.regex.not_empty;
bbcjs.forms.req_err.what_are_the_most_difficult_challenges_f
or_stepfathers
= "What are the most difficult challenges for
stepfathers";
bbcjs.forms.required.may_our_researcher_contact_you_by_email
_for_a_short_confidential_follow_up_study
= /^(Yes|No)$/;
bbcjs.forms.req_err.may_our_researcher_contact_you_by_email_
for_a_short_confidential_follow_up_study
= "May our researcher contact you by email for a short,
confidential,
follow-up study";
</script>
<noscript>
Sorry, you do not have JavaScript enabled, so you will be
unable to submit
this form.
</noscript>
<form name="birthmap_form"
action="/apps/ifl/relationships/post2log"
method="post" onsumbit="return
bbcjs.forms.validate(this);">
<input type="hidden"
name="L2REndPage"
value="/parenting/tv_and_radio/birthmap_thanks.shtml&qu
ot;>
<div id="survey"
style="display:block;">
<table width="490" cellspacing="0"
cellpadding="0" border="0"
class="qMain">
<tr>
<td width="5"><img
src="/furniture/tiny.gif" width="5"
height="1"
alt=""></td>
<td width="490">
<table width="100%"
cellspacing="0" cellpadding="0"
border="0">
<tr valign="top">
<td
width="250"><strong>1.</strong>
Your age:</td>
<td width="20"><img
src="/furniture/tiny.gif" width="20"
height="1"
alt=""></td>
<td>
<select name="your_age">
<option selected value>Please
choose your
age</option>
<option>16 and
25</option>
<option>26 and
34</option>
<option>35 and
49</option>
<option>50 -
plus</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>2.</strong> Your Sex:
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select name="your_sex">
<option selected value>Please
choose your
sex</option>
<option
value"1">Male</option>
<option
valu="2">Female</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>3.</strong> Your marital
status:</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="your_marital_status">
<option selected value>Please
choose your marital
status</option>
<option
value="1">Never married</option>
<option
value="2">1st marriage</option>
<option
value="3">Re-married</option>
<option
value="4">Separated</option>
<option
value="5">Divorced</option>
<option
value="6">Widowed</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>4.</strong>What is the
first part of your postcode (for
example, NW6):<br /></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><input type="text" size="4"
name="where_you_live"></td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>5.</strong> Your living
arrangements</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<input type="radio"
name="livarange" value="1"
onClick="make_see1('qa_6');">Live with your
partner<br>
<input type="radio"
name="livarange" value="2"
onClick="make_see1('qa_6');">Live seperately
from
your partner<br>
<input type="radio"
name="livarange" value="3"
onClick="make_hide1('qa_6', ['6d']);">Dont have
a
partner<br>
</td>
</tr>
<!-- start of hidden section for qa_6
-->
<tr valign="top">
<td colspan="3">
<div id="qa_6">
<div class="questionAnswerPair">
<div
class="question"><strong>6a.</strong&g
t; How old is your
partner?</div>
<div class="answer">
<select
name="what_is_your_partners_age"
id="6a">
<option selected value>Please choose your
partner's age</option>
<option>16 and
25</option>
<option>26 and
34</option>
<option>35 and
49</option>
<option>50 -
plus</option>
</select>
</div>
</div>
<div class="questionAnswerPair">
<div
class="question"><strong>6b.</strong&g
t; What's your partner's
marital status?</div>
<div class="answer">
<select
name="what_is_your_marital_status"
id="6b">
<option selected value>Please
choose your marital
status</option>
<option
value="1">Never married</option>
<option
value="2">1st marriage</option>
<option
value="3">Re-married</option>
<option
value="4">Separated</option>
<option
value="5">Divorced</option>
<option
value="6">Widowed</option>
</select>
</div>
</div>
<div class="questionAnswerPair">
<div
class="question"><strong>6c.</strong&g
t; How many children,
including adopted and stepchildren, under 16 do you and your
partner have?
</div>
<div class="answer">
<ol type="number">
<li>living with you?
<input type="text" size="3"
id="6c"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a boy aged nine would be M09)
</li>
<li>living elsewhere?
<input type="text" size="3"
id="6c"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a girl aged eleven would be F11)
</li>
</ol>
</div>
</div>
</div>
</td>
</tr>
<!-- end of hidden section for qa_6 -->
<!-- start of hidden section for qa_6d
-->
<tr valign="top">
<td colspan="3">
<div id="qa_6d">
<div class="questionAnswerPair">
<div
class="question"><strong>6a.</strong&g
t; How many children,
including adopted and stepchildren, under 16 do you and your
partner have
</div>
<div class="answer">
<ol type="number">
<li>living with you?
<input type="text" size="3"
id="6d"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a boy aged nine would be M09)
</li>
<li>living elsewhere?
<input type="text" size="3"
id="6d"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a girl aged eleven would be F11)
</li>
</ol>
</div>
</div>
</div>
</td>
</tr>
<!-- end of hidden section for qa_6d -->
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr valign="top">
<td><strong>7.</strong> Would you
like to have (any) more
children?</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="would_you_like_to_have_any_more_children">
;
<option selected value>Please
choose your
answer</option>
<option
value="1">Yes, definitely</option>
<option
value="2">Possible yes</option>
<option
value="3">Propably not</option>
<option
value="4">Definitely not</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>8.</strong> Would your
partner like (more) Children?</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="would_your_partner_like_more_children">
<option selected value>Please
choose your
answer</option>
<option
value="1">Yes, definitely</option>
<option
value="2">Possible yes</option>
<option
value="3">Propably not</option>
<option
value="4">Definitely not</option>
<option
value="5">I'm currently single</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>9.</strong> Who first
initiate the idea of having a
child? <br /></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="who_first_initiate_the_idea_of_having_a_child&quo
t;>
<option selected
value>Please choose your
answer</option>
<option
value="1">Mother</option>
<option
value="2">Father</option>
<option
value="3">Joint decision</option>
<option value="4">Not planned</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr>
<td valign="top"
colspan="3"><strong>The next Section
concerns
fatherhood. Mothers and fathers please answer the questions
about
your own youngest child.</strong><br />
</td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>10.</strong> Was the
father present at the birth? <br
/><br /></td>
<td width="20"><img
src="/furniture/tiny.gif" width="20"
height="1"
alt=""></td>
<td>
<select
name="was_the_father_present_at_the_birth">
<option selected
value>Please choose your
answer</option>
<option
value="1">Yes</option>
<option
value="2">No</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>11.</strong> Did the
father take paternity leave?<br
/></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="did_the_father_take_paternity_leave">
<option selected
value>Please choose your
answer</option>
<option
value="1">Yes</option>
<option
value="2">No</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td
valign="top"><strong>12.</strong>
What proportion of your baby's
care was the father responsible for in the first year?<br
/></td>
<td width="20"
valign="top"><img
src="/furniture/tiny.gif" width="20"
height="1" alt=""></td>
<td valign="top">
<select name="what_proportion_
of_your_babys_care_was_the_father_responsible_for_in_the_fir
st_year">
<option selected
value>Please choose your
answer</option>
<option
value="1">None or very little</option>
<option value="2">Up to a
quarter</option>
<option value="3">About half</option>
<option
value="4">More than a half</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted
#000000"> </td></tr>
<tr valign="top">
<td><strong>13.</strong> Which
qualities do you think are the most
important in a father?
<p><em><strong>Write in
the order of importance - for
example, if you think point 4 is the most important,
please write 1 against it. If you think point 3 is the
next most important quality, write 2 against it - and so
on.</strong></em></p>
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><ol start="1">
<li>Disciplines child and sets
behavioural rules
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Encourages child to read and helps with
homework <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Offers mum emotional support
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option selected
value>Please choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Provides financial support
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option selected
value>Please
choose your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Spends time with the child
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Praises child and shows
affection <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Encourages child to develop
talents <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Offers practical day-to-day
care (meals, bathing)
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
</ol></td>
</tr>
<tr><td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10" alt=""></td>
</tr>
<tr valign="top">
<td><strong>14.</strong> What are the
most difficult challenges for
stepfathers?
<p><em><strong>Write
in the order of importance - for
example, if you think point 4 is the most important,
please write 1 against it. If you think point 3 is the
next most important quality, write 2 against it - and
so on.</strong></em></p>
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><ol>
<li>Not naturally liking/loving
the stepchild <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Finding discipline difficult <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Feeling the stepchild’s
affecting his relationship
with partner <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Not having known stepchild as
a baby/young child
<select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Experiencing competing demands
on his time with
his own children <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Experiencing competing
financial demands with his
own children being looked after elsewhere: <input
type="text" size="5" value"5"
name="what_are_the_most_difficult_challenges_for_stepfa
thers"></li><br />
</ol>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td
valign="top"><strong>15.</strong>
May our researcher contact you
by email for a short, confidential, follow-up study?<br
/></td>
<td width="20"
valign="top"><img
src="/furniture/tiny.gif" width="20"
height="1" alt=""></td>
<td>
<input type="radio"
name="may_our_researcher_contact_you_by_email_for_a_sho
rt_confidential_follow_up_study"
value="Yes">Yes<br>
<input type="radio"
name="may_our_researcher_contact_you_by_email_for_a_sho
rt_confidential_follow_up_study"
value="No">No<br>
</td>
</tr>
<tr><td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10" alt=""></td>
</tr>
</table>
<p>
<input type="radio"
name="give_details" value="yes"
/>YES, I wish to
give my details<br />
<input type="radio"
name="give_details" value="no" />NO,
I don't wish
to give my details
</p>
<p>
<input type="button"
onclick="detailsOpt();" value="Next"
/>
</p>
</td>
</tr>
</table>
</div>
<div id="details_yes" align="left"
style="display:none;">
<a name="formtop"></a>
<p>You've now reached the end of the questionnaire.
If - and only if -
you wish to have a chance of appearing in the programme,
please let us
have your contact details below:</p>
<table width="100%" cellspacing="0"
cellpadding="0" border="0">
<tr valign="top">
<td>Your name: </td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><input type="text"
size="30"
name="appear_on_programme_your_name"></td>
;
</tr>
<tr valign="top">
<td>Your email address: </td>
<td> </td>
<td><input type="text"
size="30"
name="appear_on_programme_your_email_address">&
lt;/td>
</tr>
<tr valign="top">
<td>Your phone number: </td>
<td> </td>
<td><input type="text"
size="30"
name="appear_on_programme_your_phone_number">&l
t;/td>
</tr>
</table>
<p><input type="submit"
value="Submit"
alt="Submit"></p>
</div>
</form>
------------------------------------------------------------
---------------
Simeon Eleftheriadis
Simeon Eleftheriadi
hello there,
if you go to question 5 and click the radio buttons, first
and second it
will give you 6a,6b,6c. When i click the third radio button
then i want to
hide 6a,6b,6c and have only 6a.
Is there that can help?
Thanks
Simeon
------------------------------------------------------------
---------------
<style>
DIV.questionAnswerPair {
margin-bottom: 15px;
float: left;
width: 100%;
}
DIV.hiddenIntro {
margin-bottom: 15px;
}
DIV.question {
width: 210px;
float: left;
}
DIV.answer {
float: left;
}
#qa_6, #qa_6d, #details_yes {
display: none;
}
</style>
<script language="JavaScript">
<!--
function detailsOpt() {
if(document.getElementById){
var yn =
bbcjs.forms.getValue(document.forms.birthmap_form.give_detai
ls);
var survey_box = document.getElementById('survey');
var dets_box = document.getElementById('details_yes');
if (yn == 'no') {
if (bbcjs.forms.validate(document.forms.birthmap_form))
document.forms.birthmap_form.submit();
}
else if (yn == 'yes' &&
bbcjs.forms.validate(document.forms.birthmap_form)){
survey_box.style.display = "none";
dets_box.style.display = "block";
document.location.href = "#formtop";
}
else if (yn == null) {
alert('Please specify if you wish to have a chance of
appearing in the
programmexx')
}
}
}
function make_see1(divId) {
document.getElementById(divId).style.display =
"block";
}
function make_hide1(divId,resetAr) {
document.getElementById(divId).style.display =
"none";
var f = document.forms.birthmap_form;
for (var i=0; i<resetAr.length; i++) {
bbcjs.forms.setValue(f[resetAr[i]], '')
}
}
bbcjs.forms.required.your_age = /^(16 to 25|26 to 34|35 to
49|50-plus)$/;
bbcjs.forms.req_err.your_age = "Please specify your
age.";
bbcjs.forms.required.your_sex = /^(Male|Female)$/;
bbcjs.forms.req_err.your_sex = "Please give your
sex";
bbcjs.forms.required.your_marital_status = /^(Never
Married|1st
Marriage|Re-married|Separated|Divorced|Widowed)$/;
bbcjs.forms.req_err.your_marital_status = "Please give
your marital status";
bbcjs.forms.required.where_you_live = bbcjs.regex.not_empty;
bbcjs.forms.req_err.where_you_live = "What’s the first
part of your
postcode, e.g. NW6";
bbcjs.forms.required.livarange = /^(Live with your
partner|Live separately
from your partner|Don’t have a partner)$/;
bbcjs.forms.req_err.livarange = "Your living
arrangements.";
bbcjs.forms.required.would_you_like_to_have_any_more_childre
n = /^(Yes,
definitely|Possibly yes|Probably not|Definitely not)$/;
bbcjs.forms.req_err.would_you_like_to_have_any_more_children
= "Would you
like to have any (more) children";
bbcjs.forms.required.would_your_partner_like_more_children =
/^(Yes,
definitely|Possibly yes|Probably not|Definitely not|I’m
currently
single)$/;
bbcjs.forms.req_err.would_your_partner_like_more_children =
"Would your
partner like (more) children";
bbcjs.forms.required.who_first_initiated_the_idea_of_having_
a_child =
/^(Mother|Father|Joint decision|Not planned)$/;
bbcjs.forms.req_err.who_first_initiated_the_idea_of_having_a
_child = "Who
first initiated the idea of having a child";
bbcjs.forms.required.was_the_father_present_at_the_birth =
/^(Yes|No)$/;
bbcjs.forms.req_err.was_the_father_present_at_the_birth =
"Was the father
present at the birth";
bbcjs.forms.required.did_the_father_take_paternity_leave =
/^(Yes|No)$/;
bbcjs.forms.req_err.did_the_father_take_paternity_leave =
"Did the father
take paternity leave";
bbcjs.forms.required.what_proportion_of_your_babys_care_was_
the_father_responsible_for_in_the_first_year
= /^(None or very little|Up to a quarter|About half|More
than half)$/;
bbcjs.forms.req_err.what_proportion_of_your_babys_care_was_t
he_father_responsible_for_in_the_first_year
= "What proportion of your baby’s care was the father
responsible for in
the first year";
bbcjs.forms.required.which_qualities_do_you_think_are_the_mo
st_important_in_a_father
= bbcjs.regex.not_empty;
bbcjs.forms.req_err.which_qualities_do_you_think_are_the_mos
t_important_in_a_father
= "Which qualities do you think are the most important
in a father";
bbcjs.forms.required.what_are_the_most_difficult_challenges_
for_stepfathers
= bbcjs.regex.not_empty;
bbcjs.forms.req_err.what_are_the_most_difficult_challenges_f
or_stepfathers
= "What are the most difficult challenges for
stepfathers";
bbcjs.forms.required.may_our_researcher_contact_you_by_email
_for_a_short_confidential_follow_up_study
= /^(Yes|No)$/;
bbcjs.forms.req_err.may_our_researcher_contact_you_by_email_
for_a_short_confidential_follow_up_study
= "May our researcher contact you by email for a short,
confidential,
follow-up study";
</script>
<noscript>
Sorry, you do not have JavaScript enabled, so you will be
unable to submit
this form.
</noscript>
<form name="birthmap_form"
action="/apps/ifl/relationships/post2log"
method="post" onsumbit="return
bbcjs.forms.validate(this);">
<input type="hidden"
name="L2REndPage"
value="/parenting/tv_and_radio/birthmap_thanks.shtml&qu
ot;>
<div id="survey"
style="display:block;">
<table width="490" cellspacing="0"
cellpadding="0" border="0"
class="qMain">
<tr>
<td width="5"><img
src="/furniture/tiny.gif" width="5"
height="1"
alt=""></td>
<td width="490">
<table width="100%"
cellspacing="0" cellpadding="0"
border="0">
<tr valign="top">
<td
width="250"><strong>1.</strong>
Your age:</td>
<td width="20"><img
src="/furniture/tiny.gif" width="20"
height="1"
alt=""></td>
<td>
<select name="your_age">
<option selected value>Please
choose your
age</option>
<option>16 and
25</option>
<option>26 and
34</option>
<option>35 and
49</option>
<option>50 -
plus</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>2.</strong> Your Sex:
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select name="your_sex">
<option selected value>Please
choose your
sex</option>
<option
value"1">Male</option>
<option
valu="2">Female</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>3.</strong> Your marital
status:</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="your_marital_status">
<option selected value>Please
choose your marital
status</option>
<option
value="1">Never married</option>
<option
value="2">1st marriage</option>
<option
value="3">Re-married</option>
<option
value="4">Separated</option>
<option
value="5">Divorced</option>
<option
value="6">Widowed</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>4.</strong>What is the
first part of your postcode (for
example, NW6):<br /></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><input type="text" size="4"
name="where_you_live"></td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>5.</strong> Your living
arrangements</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<input type="radio"
name="livarange" value="1"
onClick="make_see1('qa_6');">Live with your
partner<br>
<input type="radio"
name="livarange" value="2"
onClick="make_see1('qa_6');">Live seperately
from
your partner<br>
<input type="radio"
name="livarange" value="3"
onClick="make_hide1('qa_6', ['6d']);">Dont have
a
partner<br>
</td>
</tr>
<!-- start of hidden section for qa_6
-->
<tr valign="top">
<td colspan="3">
<div id="qa_6">
<div class="questionAnswerPair">
<div
class="question"><strong>6a.</strong&g
t; How old is your
partner?</div>
<div class="answer">
<select
name="what_is_your_partners_age"
id="6a">
<option selected value>Please choose your
partner's age</option>
<option>16 and
25</option>
<option>26 and
34</option>
<option>35 and
49</option>
<option>50 -
plus</option>
</select>
</div>
</div>
<div class="questionAnswerPair">
<div
class="question"><strong>6b.</strong&g
t; What's your partner's
marital status?</div>
<div class="answer">
<select
name="what_is_your_marital_status"
id="6b">
<option selected value>Please
choose your marital
status</option>
<option
value="1">Never married</option>
<option
value="2">1st marriage</option>
<option
value="3">Re-married</option>
<option
value="4">Separated</option>
<option
value="5">Divorced</option>
<option
value="6">Widowed</option>
</select>
</div>
</div>
<div class="questionAnswerPair">
<div
class="question"><strong>6c.</strong&g
t; How many children,
including adopted and stepchildren, under 16 do you and your
partner have?
</div>
<div class="answer">
<ol type="number">
<li>living with you?
<input type="text" size="3"
id="6c"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a boy aged nine would be M09)
</li>
<li>living elsewhere?
<input type="text" size="3"
id="6c"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a girl aged eleven would be F11)
</li>
</ol>
</div>
</div>
</div>
</td>
</tr>
<!-- end of hidden section for qa_6 -->
<!-- start of hidden section for qa_6d
-->
<tr valign="top">
<td colspan="3">
<div id="qa_6d">
<div class="questionAnswerPair">
<div
class="question"><strong>6a.</strong&g
t; How many children,
including adopted and stepchildren, under 16 do you and your
partner have
</div>
<div class="answer">
<ol type="number">
<li>living with you?
<input type="text" size="3"
id="6d"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a boy aged nine would be M09)
</li>
<li>living elsewhere?
<input type="text" size="3"
id="6d"
name="how_many_children_including_adopted_and_stepchild
ren_under_16_do_you_and_your_partner_have"><br
/>
Please give the ages and sex of
your children
(for example, a girl aged eleven would be F11)
</li>
</ol>
</div>
</div>
</div>
</td>
</tr>
<!-- end of hidden section for qa_6d -->
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr valign="top">
<td><strong>7.</strong> Would you
like to have (any) more
children?</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="would_you_like_to_have_any_more_children">
;
<option selected value>Please
choose your
answer</option>
<option
value="1">Yes, definitely</option>
<option
value="2">Possible yes</option>
<option
value="3">Propably not</option>
<option
value="4">Definitely not</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="20"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>8.</strong> Would your
partner like (more) Children?</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="would_your_partner_like_more_children">
<option selected value>Please
choose your
answer</option>
<option
value="1">Yes, definitely</option>
<option
value="2">Possible yes</option>
<option
value="3">Propably not</option>
<option
value="4">Definitely not</option>
<option
value="5">I'm currently single</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>9.</strong> Who first
initiate the idea of having a
child? <br /></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="who_first_initiate_the_idea_of_having_a_child&quo
t;>
<option selected
value>Please choose your
answer</option>
<option
value="1">Mother</option>
<option
value="2">Father</option>
<option
value="3">Joint decision</option>
<option value="4">Not planned</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr>
<td valign="top"
colspan="3"><strong>The next Section
concerns
fatherhood. Mothers and fathers please answer the questions
about
your own youngest child.</strong><br />
</td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted #000000"> </td>
</tr>
<tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>10.</strong> Was the
father present at the birth? <br
/><br /></td>
<td width="20"><img
src="/furniture/tiny.gif" width="20"
height="1"
alt=""></td>
<td>
<select
name="was_the_father_present_at_the_birth">
<option selected
value>Please choose your
answer</option>
<option
value="1">Yes</option>
<option
value="2">No</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr valign="top">
<td><strong>11.</strong> Did the
father take paternity leave?<br
/></td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td>
<select
name="did_the_father_take_paternity_leave">
<option selected
value>Please choose your
answer</option>
<option
value="1">Yes</option>
<option
value="2">No</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td
valign="top"><strong>12.</strong>
What proportion of your baby's
care was the father responsible for in the first year?<br
/></td>
<td width="20"
valign="top"><img
src="/furniture/tiny.gif" width="20"
height="1" alt=""></td>
<td valign="top">
<select name="what_proportion_
of_your_babys_care_was_the_father_responsible_for_in_the_fir
st_year">
<option selected
value>Please choose your
answer</option>
<option
value="1">None or very little</option>
<option value="2">Up to a
quarter</option>
<option value="3">About half</option>
<option
value="4">More than a half</option>
</select>
</td>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td colspan="3" style="border-top:
1px dotted
#000000"> </td></tr>
<tr valign="top">
<td><strong>13.</strong> Which
qualities do you think are the most
important in a father?
<p><em><strong>Write in
the order of importance - for
example, if you think point 4 is the most important,
please write 1 against it. If you think point 3 is the
next most important quality, write 2 against it - and so
on.</strong></em></p>
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><ol start="1">
<li>Disciplines child and sets
behavioural rules
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Encourages child to read and helps with
homework <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Offers mum emotional support
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option selected
value>Please choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Provides financial support
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option selected
value>Please
choose your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Spends time with the child
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Praises child and shows
affection <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Encourages child to develop
talents <select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Offers practical day-to-day
care (meals, bathing)
<select
name="which_qualities_do_you_think_are_the_most_importa
nt_in_a_father">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
</ol></td>
</tr>
<tr><td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10" alt=""></td>
</tr>
<tr valign="top">
<td><strong>14.</strong> What are the
most difficult challenges for
stepfathers?
<p><em><strong>Write
in the order of importance - for
example, if you think point 4 is the most important,
please write 1 against it. If you think point 3 is the
next most important quality, write 2 against it - and
so on.</strong></em></p>
</td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><ol>
<li>Not naturally liking/loving
the stepchild <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Finding discipline difficult <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Feeling the stepchild’s
affecting his relationship
with partner <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Not having known stepchild as
a baby/young child
<select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Experiencing competing demands
on his time with
his own children <select
name="what_are_the_most_difficult_challenges_for_stepfa
thers">
<option
selected
value>Please
choose
your
answer</option>
<option
value="1">1</option>
<option
value="2">2</option>
<option
value="3">3</option>
<option
value="4">4</option>
</select>
</li><br />
<li>Experiencing competing
financial demands with his
own children being looked after elsewhere: <input
type="text" size="5" value"5"
name="what_are_the_most_difficult_challenges_for_stepfa
thers"></li><br />
</ol>
</tr>
<tr>
<td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10"
alt=""></td>
</tr>
<tr>
<td
valign="top"><strong>15.</strong>
May our researcher contact you
by email for a short, confidential, follow-up study?<br
/></td>
<td width="20"
valign="top"><img
src="/furniture/tiny.gif" width="20"
height="1" alt=""></td>
<td>
<input type="radio"
name="may_our_researcher_contact_you_by_email_for_a_sho
rt_confidential_follow_up_study"
value="Yes">Yes<br>
<input type="radio"
name="may_our_researcher_contact_you_by_email_for_a_sho
rt_confidential_follow_up_study"
value="No">No<br>
</td>
</tr>
<tr><td colspan="3"><img
src="/furniture/tiny.gif" width="1"
height="10" alt=""></td>
</tr>
</table>
<p>
<input type="radio"
name="give_details" value="yes"
/>YES, I wish to
give my details<br />
<input type="radio"
name="give_details" value="no" />NO,
I don't wish
to give my details
</p>
<p>
<input type="button"
onclick="detailsOpt();" value="Next"
/>
</p>
</td>
</tr>
</table>
</div>
<div id="details_yes" align="left"
style="display:none;">
<a name="formtop"></a>
<p>You've now reached the end of the questionnaire.
If - and only if -
you wish to have a chance of appearing in the programme,
please let us
have your contact details below:</p>
<table width="100%" cellspacing="0"
cellpadding="0" border="0">
<tr valign="top">
<td>Your name: </td>
<td><img src="/furniture/tiny.gif"
width="20" height="1"
alt=""></td>
<td><input type="text"
size="30"
name="appear_on_programme_your_name"></td>
;
</tr>
<tr valign="top">
<td>Your email address: </td>
<td> </td>
<td><input type="text"
size="30"
name="appear_on_programme_your_email_address">&
lt;/td>
</tr>
<tr valign="top">
<td>Your phone number: </td>
<td> </td>
<td><input type="text"
size="30"
name="appear_on_programme_your_phone_number">&l
t;/td>
</tr>
</table>
<p><input type="submit"
value="Submit"
alt="Submit"></p>
</div>
</form>
------------------------------------------------------------
---------------
Simeon Eleftheriadis
For a quick response, your message should include,
- A copy of the code
- A copy of any error messages
- A description of what you're trying to achieve
- A description of what's actually happening
http://www.trans4mind.com/personal_developmen
t/HTMLGuide/index.html For HTML
http://www.trans4mind.com/personal_developme
nt/JavaScript/index.html For JavaScript
You can also download the JavaScript and HTML tutorials
(Nearly 2.5 megabytes.)
A 30 day version of jsEditor is available for free download
at
http://www.trans4mind.com/personal_devel
opment/JavaScript/freeEditor.htm
--------------------------
FREE zip/unzip program:
http://www.trans4mind.com/personal_development/z
ipper/index.html
--------------------------OR go to and change your settings:
http://g
roups.yahoo.com/group/1stJavaScript/
List owner: 1stJavaScript-owner@yahoogroups.com
://groups.yahoo.com/group/1stJavaScript/
List owner: 1stJavaScript-owner@yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://g
roups.yahoo.com/group/1stJavaScript/
<*> To unsubscribe from this group, send an email to:
1stJavaScript-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|