Single Line Text Field Maximum Character Length - Input Helper
Version 1.0 added 1 year ago by chrisdfeld
HOW TO INSTALL: To install this package, copy the following code and paste it into your Pods >> Package Manager under the Import tab and follow instructions there.
1.0 Notes
Restricts a single-line text field to a maximum character length and optionally provides a pop-up warning when the field is filled up. By default (as of version 1.8.2) Pods accepts entries of any length but silently discards anything after the first 128 characters.
This input helper restricts entries to a limit of 128 characters and shows a warning when the full field is used -- for example, to let the user know that a pasted entry may have been truncated. To customize the character length or disable the warning message, copy and paste into a new input helper and edit the appropriate settings at the top. Keep in mind that due to current Pods database limitations, the maximum field length is limited to 128 for single-line text fields.
Usage:
Choose "input_helper_maxlength128" from the Input Helper drop-down for each Pod column you want restrict.
Tested with Pods 1.8.2.
This input helper restricts entries to a limit of 128 characters and shows a warning when the full field is used -- for example, to let the user know that a pasted entry may have been truncated. To customize the character length or disable the warning message, copy and paste into a new input helper and edit the appropriate settings at the top. Keep in mind that due to current Pods database limitations, the maximum field length is limited to 128 for single-line text fields.
Usage:
Choose "input_helper_maxlength128" from the Input Helper drop-down for each Pod column you want restrict.
Tested with Pods 1.8.2.
About this Package
Restricts a single-line text field to a maximum character length and optionally provides a pop-up warning when the field is filled up. By default (as of version 1.8.2) Pods accepts entries of any length but silently discards anything after the first 128 characters.
This input helper restricts entries to a limit of 128 characters and shows a warning when the full field is used -- for example, to let the user know that a pasted entry may have been truncated. To customize the character length or disable the warning message, copy and paste into a new input helper and edit the appropriate settings at the top. Keep in mind that due to current Pods database limitations, the maximum field length is limited to 128 for single-line text fields.
Usage:
Choose "input_helper_maxlength128" from the Input Helper drop-down for each Pod column you want restrict.
Tested with Pods 1.8.2.
This input helper restricts entries to a limit of 128 characters and shows a warning when the full field is used -- for example, to let the user know that a pasted entry may have been truncated. To customize the character length or disable the warning message, copy and paste into a new input helper and edit the appropriate settings at the top. Keep in mind that due to current Pods database limitations, the maximum field length is limited to 128 for single-line text fields.
Usage:
Choose "input_helper_maxlength128" from the Input Helper drop-down for each Pod column you want restrict.
Tested with Pods 1.8.2.
