Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Web Form Submission
Feedback Type: Question
Product Area: Domino Server
Technical Area: Functionality
Platform: ALL
Release: 8.5
Reproducible: Always

I created a web page using Dreamweaver, I styled it and it looks exactly how I want it. I tested the javascript locally and everything works.

I then pasted the HTML from this local file into a new notes form. I only copy and pasted everything between the <form> </form> tags. Set the HTML as passThru.

added the .js and .css in the header section of the form.

I then created a agent "(processWebForm)":
Sub Initialize
Dim sess As New notessession
Dim doc As NotesDocument
Set doc = sess.DocumentContext
Print "<h1>Thank You, " & doc.docRequestor(0) & "</h1><br>The current time is : " & Now()
End Sub

I tested the new Notes form using Firefox and it displayed how I want it from the Notes server, the javascript in the submit button works too (JS just does field validation for nulls). The webquerysave agent ran successfully after submission, returned the above HTML response in my webquerysave agent.

The problem is doc.docRequestor(0)is null, I checked the document in the database and it only has the fields Form and updatedBy which =Anonymous.

How do I get the rest of the HTML fields to be saved in the document? I wish not to create all the fields all over again in the Notes form.

what can I do in the webquerysave to access html fields after submission?

Thanks in Advance!


Feedback number WEBB7TRVL8 created by ~Autumn Zenfanagen on 07/08/2009

Status: Open
Comments:

Web Form Submission (~Autumn Zenfana... 8.Jul.09)
. . I figured it out (~Autumn Zenfana... 9.Jul.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS