Hello. I have a "Rules for Field Definition" setup for lookup and set value. I'm wondering if it's possible to use a condition statement to set a form value if nothing is returned. I've tried a few things taking samples from the wiki but I have not been successful.
So basically what I need to do is search for dates in a form and if the date exists set a form value (textbox) to Yes and if it does not exist set the form value to No.
I tried something like:
if(![entry.field1], Textbox1=Yes, Textbox1=No)
I tried encasing the search field in parens and also the values and still no luck. I'm not even sure if it's possible as I've found no good samples. I'm still looking but I figured I'd throw this out there and see where it leads.
Thanks!
Glen
Hi
There is a [entry._count] returned
And if that is 0 then your lookup basically has returned nothing
Alex
Thanks Alex! This is what I just did and it works....
Support=(IF(EMPTY("[entry.SupportAnswer]"), "No", "Yes"))
Works as I hoped for!
Thanks!
Glen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also a good way to solve this!
As usual, there are multiple ways to do the same thing in ConfiForms :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.