Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Tony Lundstedt 8.May.12 09:10 AM a Web browser
Domino Designer All Releases All Platforms


* Not an issue anymore. Hitting my head at the wall and remebered I have already solved it.. Way to easy to forget when you stay away from coding for 18 months... arghhh

I got a small issue. I need to read input values from both notes items and html input tags when I "submit a doc" on web.

If I have a notes items (input text box) called RequesterEmailAddress I can run agent on "webquerysave"
Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
Dim curDoc As NotesDocument
Set curDoc = s.DocumentContext
Print "value= " + curDoc.RequesterEmailAddress(0)

Is very nice and easy. But if I add some html to the form the code won't read it.

I add 50 select options fields. 10 rows with 5 in each row. They are cascading dependent in each row, so depending on field x, the options in field x+1 is set. It is now a JS that build. I can on each row add a new row by script by activating "next row".

<select name='List14' onchange="fillSelect(this.value,this.form['List15'])">
<option selected >Make a selection</option>
</select>

What I then need is to be able to read the option value and from all the field and option values build a new document using another form. But I cannot get my agent to read the posted data. The notes items.. are just fine, html written input tags - no dice. Just cannot get the

curdoc.List14(0) value, no matter how I try. If this was a normal web server (php) it would be easy to get the post data. But I assume I have to "set" something before submit to something in order to be able to read the input data.. but ideas?








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow