fixing inline IF statement for the onchange example in documentation

Just a simple update to the documentation. This got me for a minute while I was testing, since it was always returning "Yes"