Search DominoPower's 11,443 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
REFORM SCHOOL
Domino forms for all
By Jeffrey R. Burrows

As a reader of DominoPower magazine, you're probably already familiar with Domino's abilities in driving dynamic Web sites. I shan't bore you with its feature sets, performance figures, or a list of Domino-powered Web sites for sundry sporting events.

However, you'll also be familiar with a bigger world out there--one in which some companies or individuals cannot afford to run their own servers on a T1 line or to rent space on a Domino hosting service. A real world where most Web sites are not run on Lotus Domino, and where an increasing number of people (this author included) are choosing to access the Internet on PalmPilots and other devices.

There are solutions to extend Domino services to all manner of devices, and the quantity and cost-effectiveness of Domino hosting provision is improving steadily. However, wouldn't it be great if you could Domino-enable just one or two Web forms on any site, regardless of whether it was running ASP pages, static HTML, or being accessed by AvantGo users? Wouldn't it be great to be able to use standard HTML forms, generated in any Web design package, yet have the forms fed automatically into Domino workflows?

This article will show you how you can do that, with a mixture of old Lotus Notes techniques, tried and tested Web technology, and a sprinkling of new code.

HTML forms
Web forms are simple things--a few special tags to create fields, drop down boxes, and radio buttons, plus two special buttons: one to reset all values, and another to submit the form. Creating a Web form is trivial, especially if you have good Web design software. Any Notes form can be converted very quickly to a Web form simply by previewing it in a Web browser and saving the resulting Web page.

The difficult part is generally in processing the form once it's submitted to a server. Originally, this meant writing a custom CGI (Common Gateway Interface) program--often in Perl--to take the form submission, update any back-end systems, and generate a new HTML page to return to the browser user. On a Domino server, this complexity is all handled by Domino itself. It receives the form submission and creates a new Notes document in the appropriate database automatically.

FormMail
Way back in ancient Internet time (around five years ago), simpler alternatives to writing custom CGI code emerged. Typical of these, and most useful of all, was the form-by-email script. Best known amongst them is the FormMail package, available now for a wide range of servers at Matt's Script Archive (at http://www.worldwidemart.com/scripts/formmail.shtml). Such CGI routines accept any form submission and send the results as a formatted email message to an address specified in the script, or more usefully, in a hidden field on the form.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Home > Internet Technologies > HTML and CSS (15 articles)
   Using a reusable code approach to HTML select option lists
   One reader's opinion on HTML mailing
   Keep lookin' good with Cascading Style Sheets
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login