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


May 2, 2018, 11:38 AM
3 Posts

Form validation on the web

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role:
  • Tags: form validation web
  • Replies: 2

I have a form that I am using on the web.

I need to validate a text field to ensure that it has a value before being submitted (there is a submit button that saves the form and opens up a confirmation page after).

I cannot work out how to do the validation. I am sure it is very simple, but I can't figure it out! Is anyone able to point me in the right direction?

Thanks!

 

May 2, 2018, 1:59 PM
328 Posts
Take a look at Designer help file

Specifically there is a page titled: 'Examples of agents to run before Web users open or save documents'.

The WebQuerySave is one event you could use.

I usually code my button(s) to perform some initial calculations, such as set values to uppercase, trim leading & trailing spaces, etc, then call an agent using @Command([ToolsRunMacro] ; <agent> ) ; If the validation fails in the agent, i update a message field o0n the screen, if the agent is successful I open the next page.


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