Right, done!

Jacques

From: "Atul Vani" <[email protected]>
Hi Jacques,

Please modify the FAQ and replace 'formName' with 'formId'. It would be clearer that way.

Thanks :)

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


Jacques Le Roux wrote:
Finally I put back your code Atul: safer indeed!

Jacques

From: "Atul Vani" <[email protected]>
Hello Varun,

no wonder this code is simple and correct,

just wanted to tell you that we do take some safety measures before writing such code,
for example,
before using $('foo') we should make sure if it even exists
or else the whole script won't load,
we do that by if($('foo')){...}

also, we need to make sure that if our script uses any element on the page
then it should execute after the element has been loaded
and we use Event.observe('window', 'load', function(){...})

i hope this info be helpful to you.

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


Varun Bhansaly wrote:
Hi,
Step 1 could be simplified as
<script type="text/javascript">
  new Validation('form-id');
</script>

Step 2 remains the same, Some tweaks are required while showing validation msgs for lookup widgets.

Thanks,




Reply via email to