-
bmanfieldAsked on May 17, 2017 at 1:42 AM
I don't want hints provided to the user as to what a valid entry is. Can I remove the validation warnings on my forms?
-
John_BensonReplied on May 17, 2017 at 4:17 AM
You need to disable the Required feature of the field. In this way, there will be no error warnings to your form fields.
We can also provide you a custom CSS code if you want the Required featured enabled. Hope that helps. If you want a custom CSS code, please contact us again and provide the form ID or form link. Thank you.
-
BenReplied on May 17, 2017 at 4:43 AM
But it is a required field. And I'd like it highlighted as such when it's not answered correctly.
The information the user inputs into the field validates they have a coupon. We've used logic to try to limit the number of bogus coupon numbers. This way we reduce the amount of work manually verifying codes.
-
John_BensonReplied on May 17, 2017 at 5:37 AM
I think we can hide the form warnings using custom CSS code. Could you please provide us the form ID or form direct link so we can check it further?
Here's an example injected custom CSS code to hide the form warnings:
We'll wait for your response. Thank you.
-
DreamCalisthenicsReplied on May 17, 2017 at 9:47 PM
Hi John,
A test form containing the fields is here:
https://www.jotform.com/build/70287835533866
The particular fields I'd like to supress the validation pop up on is:
voucher1 (#input_66)
and
voucher2 (#input_67)
I'd like the fields to maintain the required field pop up if possible.
Cheers
Ben
-
liyamReplied on May 18, 2017 at 3:20 AM
Hello Ben,
If you would like to suppress the validation for its limits, you will need to switch off the limit set on your voucher fields:
But if I am misunderstanding your concern, please let us know.
-
DreamCalisthenicsReplied on May 18, 2017 at 8:27 PM
I dont want to supress the validation. I want to supress the hint that tells users what a valid minimum or maximum response is.
-
Kiran Support Team LeadReplied on May 18, 2017 at 11:38 PM
I understand that you do want to display the error message for the Voucher fields.
You may inject the following CSS code to the form so that the message will not be displayed when a number is not entered or it is not within the limit set.
#cid_66 div.form-error-message, #cid_67 div.form-error-message {
display: none;
}
However, it displays the Red border on the input field as shown below:
Hope this information helps!
-
DreamCalisthenicsReplied on May 19, 2017 at 12:49 AM
Thanks Kiran, that's exactly what I want. :-)
I had users putting in invalid coupon numbers knowing the minimum and maximum values.
Now it just displays a red box indicating its invalid.
Perhaps as a feature request the values can be hidden so that the text still displays the error indicating that a valid number has not been entered without hinting what the value is? -
jonathanReplied on May 19, 2017 at 3:37 AM
We will discuss the next question on a separate thread here https://www.jotform.com/answers/1148999
Thanks.