Hey there,
Q: Why doesn't DF ensure validation for simple Forms and Edits by default?
(Please correct me if there is a way to do so)
If I set pbReadOnly on a cWebForm it will be rendered as "readonly" in HTML.
But it is very easy to change that HTML.
If you simply cut out the "readonly" the field is writable again (same for piMaxLength).
Couldn't/shouldn't the engine prevent this by checking if the HMTL was messed with?
Is there a function to check, if the HTML is the same as before?
Or at least to check if readonly/maxlength etc. is different than before?
Right now we ensure it by setting DD_READONLY or by manual validation (is the length <= piMaxLength).
But that's a bit redundant.
Thanks in advance for any reply on this topic.