Skip to Content Skip to Menu

Mask for field

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 3 months ago #319789 by kysin
Mask for field was created by kysin
Hello!

Tell me please, how set mask XXX-XX-XXX YY for field?

Thank in advance

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 3 months ago #319791 by krileon
Replied by krileon on topic Mask for field
Input masks are only supported for Text fields specifically. So be sure you're editing a Text field within CB > Field Management. Next under Parameters > Display you can set an input mask. Select "Custom String Mask" for "Input Mask" then review the description of "Custom String Input Mask" carefully to create your custom input mask. As you did not state what X and Y are supported to be (any character? numbers only?) I can't really suggest anything more specific.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: kysin

Please Log in or Create an account to join the conversation.

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 3 months ago #319794 by kysin
Replied by kysin on topic Mask for field
Thank you very much!

Please Log in or Create an account to join the conversation.

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 2 months ago #320613 by kysin
Replied by kysin on topic Mask for field
I found that fields with a mask can be edited by the moderator ignoring the mask, entering any characters. What settings do I need to make so that the moderator can't ignore the mask settings?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 2 months ago #320624 by krileon
Replied by krileon on topic Mask for field
Is the mask not working in backend, frontend, or both? Please keep in mind input masks are entirely cosmetic. They are not validated on storage. This is noted in the parameters description.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 2 months ago #320642 by kysin
Replied by kysin on topic Mask for field
The mask not working in frontend only.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum