Tagged: mask, pattern, placeholder
- This topic has 5 replies, 2 voices, and was last updated 5 years, 8 months ago by
Steve.
-
AuthorPosts
-
-
June 6, 2016 at 2:03 pm #6602
Fernando LourençoMemberHi,
How can I define a mask for a field.
Samples:
16901-003
061.695.238-40
15.691.748/0001-55Can you help me? Thanks
-
June 6, 2016 at 9:25 pm #6617
Fernando LourençoMemberI found this topic.
+99(99)9999-9999
‘pattern’ => ‘[\+]\d{2}[\(]\d{2}[\)]\d{4}[\-]\d{4}’
But the pattern and placeholder does not work.
-
June 7, 2016 at 7:52 am #6620
Fernando LourençoMemberThe field belongs to a group.
,array(
‘type’ => ‘number’
,’field’ => ‘cep’
,’size’ => ‘9’
,’maxlength’ => ‘9’
,’pattern’ => ‘\d{5}[\-]\d{3}’
,’message’ => ‘Dude, you are outside the zone.’
,’placeholder’ => ‘16901-003′
,’label’ => __(‘CEP’, ‘piklist-demo’)
,’columns’ => 3
)I need to do some validation?
-
June 9, 2016 at 1:00 pm #6642
SteveKeymaster@ayron– You can easily create your own validation rules. Check out this doc >
-
June 9, 2016 at 1:37 pm #6649
Fernando LourençoMemberHello Steve,
To begin, I would like to congratulate the whole team.
I started using the piklis 05 days ago.
Documentation is exemplified.
The sample demo of the plugin also allows you to check things work.
I have enough experience with WordPress, but not as a developer. I am developing for Win32 (use Cllarion as language)
I am very excited about what I did and I wonder what I can still do.
Piklist is already becoming an addiction.
I have managed to come up with the code of a well quickly. The learning curve is easy, piklist does the hard work.
Php7, html5 and codex reference, has helped me a lot to learn some concepts.
It’s been a while I know the piklist. I’ve been looking for Rolopress and was led to piklist. My first printout, seemed complicated though full of features.
It seemed easy and simple so I set out to use.
Do not get to be anxious for new updates, I still have a long way that has shown rapid advances, but I expect version 1.0 and addons. -
June 9, 2016 at 1:52 pm #6651
-
-
AuthorPosts
- You must be logged in to reply to this topic.