Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please 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
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
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