on 02-25-2010 6:54 PM
Hi All,
This may be a very basic question... Our requirement is to have a smartform print Field2 if the field is populated (not blank), but to print Field1 if Field2 is blank. I have nodes for Field1 and Field2, and am trying to use the condition tab to check to see if Field2 is populated or blank, and print the correct node accordingly. However, I am not able to find anywhere online what value to use as a blank in the condition tab. I have tried ( ), " ", ' ', SPACE, INITIAL... none work.
Could somebody tell me what to use? Or help with another way to acheive this functionality?
Thanks,
J
in the condition tab try.
field1
condition: field1 NE initial.
field2
condition: field2 NE initial.
or you can use a true or false condition too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With Field1 NotEqual INITIAL - Field1 prints when Field2 is blank.
With Field2 NotEqual INITIAL - nothing prints when Field2 is populated.
This has been my experience so far with conditions... I am able to get Field1 to print when Field2 is blank, but when Field2 is populated, nothing will print.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.