PDA

View Full Version : Edit "Validation Show If" Buggy part 1


Brainthief
04-18-2009, 02:19 PM
When I add a "validation show if" I get this:
<?php
if (ValidatedField("checkout","checkout")) {
if ((strpos((",".ValidatedField("checkout","checkout").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
Fail
<?php //WAFV_Conditional checkout.php checkout(1:)
}
}
}?>

(that should not be a smile - vbulletin did that.)
Also I'll have to post in two threads, vbulletin says I have 7 images in my post - not?
Part two coming...

Brainthief
04-18-2009, 02:22 PM
How do you post code?

vbulletin keeps saying I have 6 images in my post...?

Brainthief
04-18-2009, 02:25 PM
I'll attach as txt file...

Ray Borduin
04-20-2009, 08:08 AM
Please explain the problem and your experience. I don't see a problem with the code and would need further description to spot it.

Ray Borduin
04-20-2009, 08:09 AM
I see. It has &quot; instead of the quotation marks... is that the issue?

I will see if I can reproduce it. What is the operating system, dreamweaver version, and version of the extension you have installed?

Brainthief
04-21-2009, 07:31 AM
Sorry about the choppy explanation...
I'm using a trial version of CS4
on mac OS 10.5
Validation Toolkit 2.3.3
1. Add Validation Show If SB.
I get the correct code syntax with " as quotes.
2. Double click to edit the Validation Show If SB
It changes all " marks to the text version &quot;

If I jump back to CS3 with Validation Toolkit 2.3.3 that does not happen.

Thanks for looking at it...