It works in readonly mode, but the button is losing the CLASS set while adding the input. It renders the CLASS in edit mode but loses the CLASS in readonly...
I've tried with Netscape JavaScript Console but there are no error messages. I checked the script and client_validate is getting set to 1, the inputs'...
By the way, I'm setting the ONCLICK attribute as under for submit: $input[ 'ONCLICK' ] = 'this.disabled=true;' . $form->NAME . '.submit ();return true;'; and...
I found the problem. The JavaScript expression assigned with ONCLICK to the submit button is giving trouble. How can I possibly do JavaScript validations and...
hi Manuel, i'm using the forms class to display xml data retrieved via php's simplexml / xpath methods. everything works fine when i define the form elements ...
hi Mnauel, i dug around and found something interesting out about this problem. using simplexml syntax: $name = $doc->host->name; yields an object of some...
Manuel, i'm trying to display a form, except i want it to be read only. when i set $form->ReadOnly=1; it outputs unformatted text with the form values right ...
hi Manuel, while trying to send session variables to form elements, i encountered unusual results, similar (if not exactly the same, maybe, maybe not, i don't...
Hello, ... The class renders the inputs in the same way accessible in read only mode or normal mode. -- Regards, Manuel Lemos Metastorage - Data object...
Hello, ... Make sure you are not using global variables with the same names of any of the form fields. -- Regards, Manuel Lemos Metastorage - Data object...
Hello, ... Currently only the textarea uses the DISABLED attribute to render as read-only. All the other inputs use a span, so it uses whatever class and style...
I guess I'm doing something wrong as this code for the submit button does not disable it on submit: $input[ 'ONSUBMITTING' ] = 'this.disabled=true;' thanks, ...
... hi Manuel, i don't use global variables in this script (or any script i've written to date). oe1 __________________________________________________ Do You...
hi Manuel, ... i don't know if i can use styles to create the input box look. i will look into javascript and see if i can add something that will not allow...
Manuel, Apparently, URL validation does not work with: http://www.microsoft.com <http://www.microsoft.com/> but does with: http://www.microsoft.com/...
hi all, i'd appreciate learning the method folks use to update db data. for example, let's say i display name, address and phone for a user and offer the user...
Hello, ... Please read the documentation. ONSUBMITTING is a class variable, not a input argument. -- Regards, Manuel Lemos Metastorage - Data object relational...
Hello, ... Every variable that you assign in your main script file is a global variable. -- Regards, Manuel Lemos Metastorage - Data object relational mapping...
Hello, ... Currently it is easier to set Accessible to 1 and use ExtraArguments to set DISABLED attribute. -- Regards, Manuel Lemos Metastorage - Data object...
Hello, ... Because it is invalid. All URLs must have a URI starting with / . That is why browsers complete that for you when you do not type it. That is also...
Hello, ... Honestly, it is usually not worth the effort of checking and updating only the fields that changed, unless you have records with very large fiedls. ...
Manuel, I see that if a checkbox/radio was initially checked and the form was submitted by unchecking their value, the Changes array is not populating the...
hi Manuel, does ValidateRegularExpression validate on the client side? when i use it an dforce an error, javascript doesn't kick out an error. the server...
Hello, ... You need to pass to the LoadInputValues function the submitted parameter to tell whether the form is being presented for the first time or is being...
Hello, ... If you have Javascript errors, nothing else depending on Javascript works. Enable seeing Javascript errors in your browser to see the problem. -- ...