Search DominoPower's 10,675 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
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
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
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

SECURTRAC - MONITOR AND CONTROL YOUR DOMINO ENVIRONMENT
When it comes to your business, how do you ensure compliance with SOX, HIPAA or other industry driven regulations? Use SecurTrac to monitor and audit the life cycle of all objects in your Domino environment.
  • Database Monitor
  • Mail Monitor
  • Domino Directory Monitor
  • Notes.ini File Monitor
  • Intrusion Detection Monitor


Click here for details and a free evaluation copy.
-- Advertisement --

Good Practices... Better Practices... Teamstudio.
Implementing good practices in your Notes environment doesn't have to be complicated.

Teamstudio provides software and services for efficient Notes development and simple, secure administrator control. Our new website also provides users with a library of resources to help, including:

  • Ready-to-implement policies for good practice development and deployment in Lotus Notes
  • On-demand webinars on topics ranging from tips for better coding, to securing your applications, managing agents, and streamlining your application deployment process
  • Free utilities for download to help you more more efficiently tackle several specific tasks in Notes development
Visit our library of white papers to help you take on difficult issues in your Notes environment.

Drop by our new website and take a look!
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login