SearchDomino.com June 18, 2001 Developer Tip ================================================= ------------------------------------------------- Sponsored By: SWING Software ------------------------------------------------- ************* MS OFFICE INTEGRATION ************* Integrate your applications with Microsoft Office using new SWING Integrator v2.1. Create, save, edit Office documents as attachments; field exchange, mail-merge, labels, templates... Now there's no easier way. No DLLs -- no end-user licenses -- unlimited distribution (ROYALTY-FREE)! Learn what hundreds of developers and thousands of end-users already know. http://www.swingsoftware.com/searchdomino.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ================================================= Feature Tip ================================================= Title: Submitting a form using the ENTER key This tip was submitted by Angie Schottmuller a Domino application developer in Maplewood, Minn. http://searchdomino.techtarget.com/tip/1,289483,sid4_gci554196,00.html On a Domino form or Page, you can create as many forms as you would like using HTML. Here's some code you can wrap around your fields so users can simply press ENTER instead of scrolling down or tabbing to a button to submit. The example I have included wraps around an input field used for searching. This is very handy for providing users different search methods while using minimal real estate! CODE: On a Domino Form: 1) Close out the original form tag generated by Domino using pass-thru-HTML. </form> 2) Insert HTML defining your form using pass-thru-HTML. <form name=yourFormName onSubmit="return functionToExecuteOnEnter();"> 3) Create the field you plan to search. 4) Create the button with an Action Hotspot the user clicks to submit the search with the following code behind it's hotspot: functionToExecuteOnEnter() 5) Include text for the search query description. 6) After the field, button and desc., close the form by pasting the following code as pass-thru-HTML: </form> Now if users click enter, this form will execute the same as clicking the button would execute. Be sure to define the functionToExecuteOnEnter() in JSHeader. Note: If you have input fields, they must be on a form. Be careful not to close off other values from a form. You may need to create several forms or rearrange the placement of the field values. (It is easy to include your hidden fields before you close off the Domino generated form.) END CODE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ================================================= ------------------------------------------------- Sponsored By: ONLINE CORPORATE SOFTWARE ------------------------------------------------- *********** WIN AN IBM THINKPAD T21 ************* Online Corporate Software is giving away a brand new IBM Thinkpad T21. To enter the draw just visit our website and complete the trivia quiz. With over 35 open source code Lotus Notes applications and free online Notes technical support OCS is fast tracking Domino development. http://www.onlinecorporatesoftware.com ================================================= NEWLY POSTED DEVELOPER TIPS: ================================================= We posted 11 new tips last week. Thanks for all your tips and keep them coming! Agent Category http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283834_alpD_idx0,00.html [1] Mail quota agent [2] Universal change field agent Domino Category http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283837_alpD_idx0,00.html [1] Dynamic view Formula Category http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283836_alpD_idx0,00.html [1] Dynamic cascading category in one column [2] Formula action/agent debugger [3] A cancel changes button HTML Category http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283838_alpD_idx0,00.html [1] Display Customized Message [2] Controlling pop-up windows through JavaScript [3] Voiding a return value from JavaScript Script Category http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841_alpD_idx0,00.html [1] Document audit trails - updated from anywhere [2] Get the reverse of an alias ================================================= FEATURED BOOK: ================================================= Programming Workflow Applications with Domino By Daniel Giblin and Richard Lam Harness the power of groupware to reshape business processes and customer interactions. This book will permit you to implement Web-based workflow applications using the industry-standard groupware environment, Domino R5. http://www.digitalguru.com/dgstore/product.asp?sku=1929629060&dept%5Fid=288&ac%5Fid=60&accountnumber=&couponnumber ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------- JUNE'S TIP PRIZE! ------------------------------------------------- Will you be sporting the Secret Agent Man Digital Watch? This watch isn't just a watch, it's a high-tech digital device that has everything you'd ever want in a watch and more. Some of the innovative features include: *Storage of up to 100 internet/email addresses, phone numbers or other memos *3 alarms *Self-adjusting calendar *Water resistance up to 100 meters *Optional vertical or horizontal display *Random message feature with 45 preprogrammed greetings *A retail value of $200. Submit a Developer tip in June, and let's see if you can be the latest Secret Agent Man. http://searchdomino.techtarget.com/tipsContest/0,289488,sid4_prz546242_cts546237,00.html ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ================================================= Disclaimer: These tips are submitted by your Domino peers. Our tips services and online tips exchange are a way for you to learn from other IT professionals and share technical advice and expertise with your peers. Techtarget.com provides the infrastructure to facilitate this sharing of information. However, we can't guarantee the accuracy and validity of the material submitted. You agree that your use of the searchDomino.com tips services and your reliance on any questions, answers, information or other materials received through searchDomino.com will be at your own risk. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ================================================= NOTIFY US WITH FEEDBACK ================================================= Send us your tips feedback! Cast your vote and send us your tips comments. If you have vital code information or other comments you'd like to add to one of our online tips, send your comments to [EMAIL PROTECTED], and we'll add your User Feedback to the online tip! ================================================= If you would like to sponsor this or any TechTarget newsletter, please contact Gabrielle DeRussy at [EMAIL PROTECTED] ================================================= If you no longer wish to receive this newsletter simply reply to this message with "REMOVE" in the subject line. Or, visit http://searchDomino.techtarget.com/register and adjust your subscriptions accordingly. If you choose to unsubscribe using our automated processing, you must send the "REMOVE" request from the email account to which this newsletter was delivered. Please allow 24 hours for your "REMOVE" request to be processed.
