This content has been marked as final.
Show 4 replies
-
1. Re: Show If Conditional Region - Problem
(Neil_Eisenberg) Jun 24, 2007 5:56 PM (in response to roborino3)I'm having the same problem with a simple show if the field != ""
Basically don't show if its an empty field.... I tried everything and it doesnt work. Is this an issue with the XML data sets???
Anyone???
Thanks, Neil -
2. Re: Show If Conditional Region - Problem
roborino3 Jun 25, 2007 10:00 AM (in response to roborino3)So I just figured this out. Not sure why this was done, since there is already and existing control structure built into PHP, but SPRY developed their own. I guess still a left over of combining products/companies. Anyhoo, check out:
http://labs.adobe.com/technologies/spry/articles/data_set_overview/
and look down towards the bottom for Conditional constructs, you should be able to figure it out from there for your specific situation.
Rob -
3. Re: Show If Conditional Region - Problem
(Neil_Eisenberg) Jun 25, 2007 11:00 AM (in response to roborino3)Thanks... but I wasnt able to figure it out...
Here is my code to simply show a suppliers web address as a link unless there is none:
Go to {supplier_name} website
I used a pair of single quotes with nothing inside to signify NULL
But I dont understand... It doesnt throw an error but it doesnt work either. -
4. Re: Show If Conditional Region - Problem
(Neil_Eisenberg) Jun 25, 2007 11:03 AM (in response to roborino3)Here is the doe... it didnt show up as code...
a href="http://{website}" target="_blank" spry:if="{@website} != '';">Go to {supplier_name} website
I took off thhe beginning < and ending > Hopefully it works in this post
