mrc logo mrc logo
  • m-Power m-Power
    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
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends 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 and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    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

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

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.