Universal Form Validator PHP Support Product Page

Under investigation

Bug in dmxSetSelectOption

Reported 21 Aug 2011 02:46:28
1
has this problem
21 Aug 2011 02:46:28 AK Tom posted:
This is an incredibly complex and useful extension!

I did find one minor but though, that marks the correct item in a select list as selected.
This only comes to play if you have javascript disabled, and thus the server side validation is performed.

The error is on line 2736 of dmxValidator.php
This line is currently
if ($str == $postval)
and should be
if ($str == $_POST[$postval])

One other small thing, when it generated the Styles folder, it called it 'styles' (lower case) and it should have been Styles. This worked fine on my dev server, and windows servers, but failed on my linux server, which is case sensitive.

Just a couple minor things for your next release.

Thanks!
Tom

Replies

Replied 22 Aug 2011 09:34:56
22 Aug 2011 09:34:56 Teodor Kuduschiev replied:
Hello Tom!

Thank you for the feedback, i'll send this to our developers.

Reply to this topic