Sometimes FB does not include all code
Sometimes when I wish to make another form with FB in a new page, the second form is not finished properly. Line terminators are missing as are necessary codes. For example,
INSTEAD OF:
------------
if (ValidatedField('test','test')) {
if ((strpos((",".ValidatedField("test","test").","), "," . "14" . ",") !== false || "14" == "")) {
if (!(false)) { . . .
I GET:
------
if() {
if(!false)) { . . .
If I shut down DW, remove the cache file, return to DW, then I can create a form successfully.
But, it occurred to me that it is also possible the problem may be related to the fact that I create a new file which DW wants to save as HTML, but I save it as PHP. I then create my form in this new file. If I view the code, DW hasn't validated it as it has not added color to the code.
I haven't run extensive tests to confirm my theory but I'm thinking the real problem is that I'm creating a new PHP file that DW hasn't yet recognized as PHP, but because it has a PHP extension, WA_FB runs, but misses generating all the necessary code. This is just my guess from empirical observations. But it is an annoying problem for me for which I have workarounds. However, it seems that none of this should be happening. I'm not sure if it is DW or WA_FB or what.