Hi all,
I have a form which among other feilds has a "country" feild and a "vat" feild, if the user selects "United Kingdom" in the "country" feild I want the "vat" feild to be shown else hide the "vat"feild.
This is what I have so far and I know its not correct.
<?php
if ($country == "united kingdom")
{
echo "<input name="vat_number" type="text" class="coursetext" value="" size="20" />";
}
else
{
echo "<input name="vat_number" type="hidden" class="coursetext" value="" size="20" />";
}
?>
Can anyone point me in the right direction.
Many thanks