Author |
Message |
Topic: {if ... OR ... OR ... OR ... OR} |
Net Genius
Replies: 3
Views: 42898
|
Forum: General Posted: Sat Sep 13, 2008 4:45 pm Subject: {if ... OR ... OR ... OR ... OR} |
Ah, I see I had my logic backwards... Thank you. |
Topic: {if ... OR ... OR ... OR ... OR} |
Net Genius
Replies: 3
Views: 42898
|
Forum: General Posted: Sat Sep 13, 2008 4:36 pm Subject: {if ... OR ... OR ... OR ... OR} |
Hi, I'm trying to build an IF query in smarty based on four conditions, i.e.
{if $k != 'servicesId'}
{if $k != 'companyId'}
{if $k != 'pog_attribute_type'}
{if ... |
Topic: [SV] assign="..." not working |
Net Genius
Replies: 6
Views: 19900
|
Forum: Add-ons Posted: Mon Aug 25, 2008 8:02 pm Subject: [SV] assign="..." not working |
I'm not sure what you mean, can you give me an example?
This is my code
if(empty($_POST)) {
SmartyValidate::connect($smarty, true);
SmartyValidate: ... |
Topic: [SV] isURL query |
Net Genius
Replies: 2
Views: 11066
|
Forum: Add-ons Posted: Mon Aug 25, 2008 4:14 pm Subject: [SV] isURL query |
That works a treat. Thank you |
Topic: [SV] assign="..." not working |
Net Genius
Replies: 6
Views: 19900
|
Forum: Add-ons Posted: Mon Aug 25, 2008 4:07 pm Subject: [SV] assign="..." not working |
When I use {validate id="furl" message="Please input a url."} the error shows up as expected. However, as I'm sure you realise, I want the value of the error to be assig ... |
Topic: [SV] isURL query |
Net Genius
Replies: 2
Views: 11066
|
Forum: Add-ons Posted: Mon Aug 25, 2008 4:05 pm Subject: [SV] isURL query |
Hi. I'm just starting to use smartyValidate, and I like what I see, but I have a quick question.
I'm looking to use the isURL validator, however I only want it to run if the field isn't empty.
I ... |
Topic: [SV] assign="..." not working |
Net Genius
Replies: 6
Views: 19900
|
Forum: Add-ons Posted: Mon Aug 25, 2008 4:02 pm Subject: [SV] assign="..." not working |
Hi. I'm having some trouble getting the assign feature of smartyValidate working.
I've created my error message{validate id="furl" message="Please input a url." assign=&quo ... |
|