Skip to Content mrc logo mrc logo
  • What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • What does m-Power build?
    Solutions by Industry
    Overview Database Front-Ends AI Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization
    Spreadsheets to the Web MS Access to the Web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs & Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Development Services Training Mentoring
  • Overview Partners Press Releases Careers Events Contact Blog
  • Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • Form Validation
  • Validate User Input
Back to Manual

Validate User Input

 

When working within an mrc application that allows end-users to input data, it is often necessary to be able to validate the user's input. In most cases, validation is usually necessary within a Maintenance application or the prompt page of a Report. mrc offers the following built in validation types for Maintenance templates (accessible via the Field Settings screen):

  • Check to see if a value is in a specified hard-coded list if it is greater/less/equal than a field value.
  • Check to see if a value is in a specified hard-coded list is in the range or not in the range of a field value.
  • Check to see if a value is equal to blank.
  • To create hard-coded drop-down lists, radio buttons, or check boxes.

Note: The above functionality is not available within Reports.

However, there are times when a more rigorous method of validation is necessary. For example, let's say that you need to validate that the user correctly enters both a starting date, an ending date, and that the dates are entered in the proper order. In these cases, validation can be controlled by an external object.

m-Power is designed so that you can use the language that you are most comfortable with to create your own external objects. The following documents explain how to use four popular languages to validate the scenario described above:

  • Validating via an SQL External Object
  • Validating via a Java External Object
  • Validating via an RPG External Object
  • Validating via JavaScript

Note: Each of the examples listed accomplish the same goal of validating for proper date input from the user.

Created: February 10, 2010 | Modified: December 27, 2011

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Popular Java Getting Started Graphing Report Database Retrievals Bootstrap Templates External Objects Production Dates Application Properties Compiling Data Dictionary Tomcat Email Excel Maintainer Bar Graphs m-Painter Administration Freemarker Graphs App Properties Dropdowns Form Validation Calculations Record Selections mrc-Productivity Series SQL RPG Maintainers Video DB2 Summaries Prompt Screens Advanced Performance Parameters Build Process Admin Graph Properties Security Reports Retrieval

See all tags »

mrc

Build the custom apps and AI tools your business needs with m-Power, or have our Chicago-based team build them with you. One platform, one team that makes sure you succeed.

Since 1981 · 1,500+ customers · 4.7/5 on G2

m-Power
Overview Demos Build Process Licensing Specs Get a Demo
Solutions
Database Front-Ends Reporting AI Tools Dashboards ERP Enhancements Modernization See all solutions
Company
Case Studies Services About Blog Careers Contact Support

Privacy Policy Cookie Policy Cookie Settings

michaels, ross & cole, ltd. (mrc)
US: 2001 Midwest Road, Suite 310, Oak Brook, IL 60523 · 630-916-0662
UK: Mortlake Business Centre, 20 Mortlake High Street, London, SW14 8JN · +44-20-335-59566
© mrc. All rights reserved.