Search DominoPower's 11,323 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
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Power Tools 6.0 is a set of 90 administrative utilities for Lotus Notes & Domino
Power Tools simplifies management of the Notes/Domino environment by automating routine tasks. Power Tools can manage or monitor mail files, groups, ACLs, agents, LOG.NSF, templates and more.

Download a trial version from helpsoft.com.
-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login