CSS Form Designer Support Product Page

CSS Form Designer breaks the UFV Code

15 years ago Alexander Dobernig posted:
BUG with the lastest versions of UFV php 1.5.2 and CSS Form Designer (no version displayed) on DW CCS4


can be reproduced

Form created with CSSFD enhanced with UFV

correct code - everything fine now:
 <li>
                <label for="Name">Name</label>
                <input type="text" id="Name" name="Name" value="<?php echo dmxSetValue("", "Name") ?>" />
                <?php $dmxval1->generate_error("Main_form","Name","requiredcond","true,,");$dmxval1->generate_error("Main_form","Name","alphanumericcond","true,,");?>
              </li>



NOW select the form in DW and start CSSFD another time and the complete code is broken.

and looks like this:


 <li>
                <label for="Name">Name</label>
                <input type="text" id="Name" name="Name" value="<?php echo dmxSetValue("", "Name") ?>" />
generate_error(&quot;Main_form&quot;,&quot;Name&quot;,&quot;requiredcond&quot;,&quot;true,,&quot;);$dmxval1-&gt;generate_error(&quot;Main_form&quot;,&quot;Name&quot;,&quot;alphanumericcond&quot;,&quot;true,,&quot;);?&gt; </li>
              <li>


This bug makes the extension unusable.[!]

Best regards
Alex

Replies

Replied 15 years ago
15 years ago Miroslav Zografski replied:
Hello Alexander,

Thanks on that note ... we are considering an update to fix this bug.

Regards,

Reply to this topic