- January 10, 2020 at 11:06 am #30448
is it possible in the “Prevent Duplicates” section to make sure that only part of the characters is checked?
for example, in a “phone” field, is it possible that only duplicates of the last 4 digits are checked?
by first entering “96123456789” and then trying to enter “6789” will a message appear that this value is already entered?January 14, 2020 at 11:52 am #30457January 20, 2020 at 11:42 pm #30506
I’m really sorry I didn’t give you feedback before, but I was out.
From what I’ve seen, it’s working perfectly. I’ll run some more tests to validate.
Anyway, THANK YOU VERY MUCH for the help you’re giving! 😀January 22, 2020 at 3:08 pm #30508
The code you gave me works perfectly. I tried to adjust it to another situation, but I couldn’t.
Can you help me by indicating what I have to adjust in the code?
Now the idea is to confirm the first 4 characters of the email address instead of the last 4 characters of the phone. But I’m not getting it validated.
Is it also possible to disable the verification of the email address in the field?
Because the idea is that the user doesn’t enter the full address but can verify with the emails already entered before.
Or is it better to create a new plain text field and assign the code to that new plain text field?January 27, 2020 at 9:27 am #30526
Help! Please? 🙁January 27, 2020 at 10:28 am #30528January 30, 2020 at 2:06 pm #30549
Hello Ally, and thanks again for your help.
It worked perfectly, but… is there any way to combine the two codes?
I’m sorry, now I’ve been asked that after all, an error message should only occur if BOTH FIELDS are repeated in the database, that is, if only one is repeated, it can still be sent, if both are repeated – they already exist – then yes, it gives an error.
I know that this kind of situation is already more customization than plugin support, and even though I won’t receive anything from who is asking for this code customization, I’m willing to pay because even though I don’t know how to program very well, I know it takes time and knowledge.
Please, if you can help me with this last customization I would really appreciate it, and as I said if it is necessary tell me a fee to pay for the development.
email (check last 4 characters)
phone number (first 4 digits)
If one already exists, send the form anyway.
If both already exist in the database, an error message appears.
I’ll be waiting for your feedback.January 31, 2020 at 12:32 pm #30555February 4, 2020 at 9:40 am #30567
I’m running some tests, but it seems to be working perfectly.
Thanks a lot!
- You must be logged in to reply to this topic.