Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

yes/no box 22.09.2014 22:56

Hi there!

How to use yes/no box?
- what is there default value? (Y?)
- how to use this value?
=> Example: if the customer is from EU and outside from my country and has VAT code, then we don't need to add local tax. So how to use this "if" / "else" commands?

With kind regards
Gunnar

Re: yes/no box 23.09.2014 11:06

Hi,

Yes/no checkbox send Y as value when checked, otherwise send empty value. So you could test in code like this:

if ($CHECKBOXINNERNAME=='Y'){
// WRITE CODE TO YES
} else {
// CODE TO NO
}

Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Lo que nuestros clientes opinan de nosotros