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?
    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 & 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
  • Bootstrap Templates
  • Text Field Properties
Back to Manual

Customizing Input Fields with m-Painter

Click here to access current documentation for this feature.

There are many form input helpers built directly into m-Painter. These features assist with varying degrees of form functionality such as setting a max number of characters allowed, the input type and making fields read-only or required. Additionally, these helpers can assist with basic end-user direction by adding placeholders, help text, or descriptive icons.

Note: This article is specific to Bootstrap templates only.

Text Field Properties

Name

Controls the value of the HTML Name attribute.
Caution: Changing this value may result in your form not submitting correctly. mrc recommends againstValue

Controls the value of the HTML Value attribute.
Caution: Changing this value may result in your form not submitting correctly. mrc recommends against modifying this value.

Character Width

Sky theme only. Sets the width of the input field in number of characters.

Maximum Characters

Sets the number of maximum characters allowed in the input field.

Type

Sets the HTML input type. Available options are:

  • Text — Default. Defines a single-line text input field. Characters can be alpha or numeric.
  • Password — Defines a password field where the characters entered are masked.
  • Number — Defines a number field. This input type forces the user to enter numeric values.
  • Date/Datetime — Defines a date/datetime input field. Note that m-Power templates will automatically use a datepicker widget for true date field inputs. For non-true date fields, mrc suggests using the m-Painter date picker.
  • Time — Defines a control for entering a time. Supporting browsers have this type designed to let users easily enter a time (hours and minutes, and optionally seconds).
  • Range — Defines a control for entering a number whose exact value is not important. A slider control is default. Further details about this input type can be found here.
  • Search — Text fields designed for the user to enter search queries into. These are functionally identical to text inputs, but may be styled differently by the user agent.
  • Email — Defines a field for an email address. Supporting browsers have basic client-side validation built in to require at least an '@' symbol in the value. Further details about the built-in validation can be found here.

Id

Controls the value of the HTML Id attribute.
Caution: Changing this value may result in your form not submitting correctly. mrc recommends against modifying this value.

Placeholder

The text entered here is displayed in the input field when the page is loaded. This can serve as a short hint to the expected value of the input field.

Placeholder

HelpText

The text entered here is displayed in a muted style below the input and can serve as a short description to the expected value of the input field.

Help Text

Icon Left/Right

Using the question-mark lookup, find a font-awesome icon to be appended to the left or right of the input box.
Note: Filter inputs already use the left side icon. Any that are added via m-Painter will be ignored.

Icons

Copy Value From Other Input

When the form is submitted, the value from field A will be written to field B sight unseen.

Inline

Sets the field's label and input box on a single line as opposed to vertically.

Default (block styling):
Default (Block)
Inline styling:
Inline

Required

Forces the input field as required by adding the "required' HTML attribute.
Required Field

Autofocus

If checked, this field will be automatically selected when the page loads. Only use one autofocus field per page.

Autofocus Field

Read-Only

Sets the input field as not-editable by adding the "readonly' HTML attribute.

Readonly Field

Created: May 16, 2018 | Modified: April 10, 2020

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

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

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


© mrc. All rights reserved.