This is a limitation of conditionals... your template variable contains html for output to the browser, so the closing > of your first <b> html tag is interpreted as the close of the <IF conditional. You can use PHP like <?php if ("{LINKAREANEW}") { ?> and should have better luck.
Comments on Condit. syntax if use custom text area
Experienced
Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Comments: 82
Hallo all and Paul,
Several days I try work out this problem.
I add new custom link field type text area with name areanew and I need this:
When user fill this text to area: this is text in area, some text (for example: OK) display on displaylinks page.
When I use this:
OK is correct display, if user submitt text: this is text in area.
After I go to admin panel/general and I select field areanew for use WSN Codes and for "the pressing of the enter key to be translated to a <br> tag.
After user submit text to area with use wsn codes (bold):
But after procedure above is not work correct conditional syntax and on the displaylinks page display this:
this is text in area>OK
I don't know solution for this.
Is it bug ? Thank for your help.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
This is a limitation of conditionals... your template variable contains html for output to the browser, so the closing > of your first <b> html tag is interpreted as the close of the <IF conditional. You can use PHP like <?php if ("{LINKAREANEW}") { ?> and should have better luck.
Experienced
Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Comments: 82
Paul,
thank you thank you thank you.
Now its ok.