Hi all,
I will start by stating that I do not know how to achieve what I need to do.
I have a form on the page with many feilds. One of the feilds is called “country” and another is called “VAT”.
What I need to do is if a user selects “United Kingdom” from the country list the “VAt” input feild shuld appear. This is how I see it happening:
<SCRIPT language=”JavaScript”>
function VAT() {
if(document.form1.country == ‘United Kingdom’)
“DISPLAY VAT FEILD”
{
if(document.form1.country == ‘EU Country’
and
if(!is_set(company_name))
{
“DISPLAY VAT FEILD”
else
“DO NOT SHOW VAT FEILD
++++++++++++++++++++++++++++++++++
I said I did not know what or how to do this, I am more PHP but I know I should learn JavaScript.
Can anyone point me in the correct direction and help.
Many thanks
Dereck