Jump to content

Problems with javascript on Gov website?


NormanH
 Share

Recommended Posts

I am trying to apply for my UK OAP online (see http://www.completefrance.com/cs/forums/2587281/ShowPost.aspx)

tinabee suggested the site http://www.dwp.gov.uk/eservice/

but I am having some bizarre problems with it.

There are questions with either boxes to type an answer into, or a drop-down menu.

However some of these menus don't come up, so I can't choose my answer.

For example 'country' should give a list to choose from but nothing appears.

I have tried with various versions of Firefox, (from 3 to 8, a version for 64 bits)  and on one computer with XP service pack 3 and another with Windows 7 (64 bit) but none manage to bring up the missing menus.

The result is that I get an error message on several pages, because I haven't been able to reply to questions.

Any idea of what is the problem?

It is true that the site is pretty antiquated: just look at whet they say is required

http://www.dwp.gov.uk/eservice/need.asp

but it is very frustrating;  I wondered if it is a problem with Javascript.

Link to comment
Share on other sites

Oh yes. These are the pages of questions.

Where there is a box or a Yes/No answer its OK.

It's the drop down menus that aren't working

Country

 

Phone number type

*

What is your marital status or civil partnership status?

Are three examples

Link to comment
Share on other sites

This is where the ptoblem lies:

<div class=rcSingleRow>

<div class=rcMandatory><script>writeRFN(1);</script></div>

	<div class=rcQuestion>

Country

</div>

<div class=rcAnswer>

<script>document.write(OL.BuildWidget("LISTBOX",window,"ISP_COUNTRY",1,32,true));</script>

</div>

</div>

<div class=rcSingleRow>

<div class=rcMandatory>&nbsp;</div>

	<div class=rcQuestion>

Phone number

<br>

<div class=rcQuestionInlineHelp>

Please include the national and local area code

</div>

</div>

<div class=rcAnswer>

<script>document.write(OL.CUS_BuildGetTextLenWidget(window,"ISP_YOUR_PHONE_NUMBER",35,35));</script>

	</div>

</div>

<div class=rcSingleRow>

<div class=rcMandatory>&nbsp;</div>

<div class=rcQuestion>

Phone number type

</div>

<div class=rcAnswer>

<script>document.write(OL.BuildWidget("LISTBOX",window,"ISP_YOUR_PHONE_TYPE",1,32,true));</script>

	</div>

</div>

<div class=rcSingleRow>

<div class=rcMandatory><script>writeRFN(1);</script></div>

<div class=rcQuestion>

What is your marital status or civil partnership status?

</div>

<div class=rcAnswer>

<script>document.write(OL.BuildWidget("LISTBOX",window,"ISP_YOUR_MARITAL_STATUS",1,32,true));</script>

Link to comment
Share on other sites

Can't help with the Javascript I am afraid, but wanted to let you know I have used the site ok with Windows 7 - 64bit. Could it possibly be a popup or compatibility problem?  (Stab in the dark here). Might be worth seeing if said website has a tech help service.
Link to comment
Share on other sites

NormanH

It could be as simple as having pop-ups block.  This would prevent drop downs etc appearing.

I think that after IE6 it was not obvious if pop-ups were bloked or not and allowing them again will depend on which browser you are using but it will be under Tools or Internet Options or similar

Link to comment
Share on other sites

[quote user="NormanH"]Thanks all.
Much to my irritation it seems now to Work in IE9, but not in Firefox [:(]
As I am an ardent Firefox fan this does not amuse me!

Now have to try to remember all my UK addresses....with dates...
[/quote]

Don't worry too much about the UK addresses - we rang them up about this and they only need the last 2.

Of course this was after we spent ages trying to remember and had already put 3 in!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...