Lotus Notes, common JavaScript

3195 pts.
Tags:
JavaScript
Lotus Notes
commonjavascript for 'Notes' field validation for dialog list fails when I use the syntax:

document.forms[0].fieldname.options[document.forms[0].fieldname.selectedIndex].text 


It gives error as ToObjecterror. Any solution for this, kindly help.

Software/Hardware used:
javascript in lotus notes field validation

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • shivasanjay
    Answer to this question is still unknown. But i managed to get the solution, I used a computed field with formula as drop down field and in the validation I check this computed field instead of dropdown field in javascript validation. Still waiting for the answer why the drpdown field validation generates error in common javascript for 'Notes' ( For web it is working)
    3,195 pointsBadges:
    report
  • Subhendu Sen
    Thanks for share ur experience and knowledge, it definitely helps to community members.
    49,420 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: