Questions tagged [validationmessage]
37 questions
0
votes
1 answer
Warning message when log in failed in WooCommerce
I am currently developing an e-commerce site using WooCommerce on Wordpress. Whenever I login a non-existing username and password, there's no warning message saying that username or password is incorrect. I wanted it to look like this.
Image of the…

Jhopat Santiago
- 3
- 1
0
votes
1 answer
AD B2C - Customize Required field message for each field
I am trying to change the error message of the required field, as of now it is showing common error message for all the fields.
But I would like to have different message for each field.
I have tried with localizations, but unable to set the…

Saravana Kumar
- 3,669
- 5
- 15
- 35
0
votes
1 answer
How to validate array values in Laravel request class?
In my application I have a request file as below:
storeFactoryUser.php
public function rules()
{
return [
'factory_users' => 'array',
'factory_users.*.first_name' => 'required',
…

anonymous
- 11
- 6
0
votes
1 answer
Customization And Localization Of abp.io Default Validation Error Messages
How can I Customize And Localize Of abp.io Default Validation Error Messages ?
I would add translated message for another language, instead of "The {fieldName} field is required."
How to do it in abp.io ?

Behnam Ghasemi
- 29
- 10
0
votes
1 answer
Custom Validation Attribute
Currently i try to validate a property by another property of the same class. I got an error which told me the following:
An object reference is required for a non static field, method or property
This kind of error makes absolute sense to me for…

Lukas Hieronimus Adler
- 1,063
- 1
- 17
- 44
0
votes
1 answer
Checkmarx error: Deserialization of untrusted data
I am getting deserialization of untrusted data during checkmarx scan (which find security related vulnarabilities in code) in the onMessage() method which is taking JMS message:
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public…

Elbow code
- 1
- 1
- 1
- 1
0
votes
1 answer
How to validate input field on change and show the message to the user?
I have input field where user should enter System ID. After user enters System ID validation should be triggered. If System ID is valid, ajax request is sent to the server. If System ID is invalid, user should see the message. I use JQuery with…

espresso_coffee
- 5,980
- 11
- 83
- 193
0
votes
1 answer
How can I access the text of Html.ValidationMessage() to check it in Razor?
I have some code to booking tickets on movie. If somebody already booked ticket he may book more tickets, only if there is specific error message.
This var validationSummary receives only the tags (

Mikhail Tarasov
- 52
- 9
0
votes
2 answers
How to pass a custom login failed notification to the view in MVC4
I want to pass an error login notification in the view which I coded my self, but I do not know how. I want to put it in the @Html.ValidationMessageFor(model => model.UserName) and @Html.ValidationMessageFor(model => model.Password) or a separate…

Binuriki Cliean Jay
- 98
- 1
- 13
0
votes
1 answer
Hibernate Validator : Custom Meassages
i have a java project and use a custom hibernate validator in that. According to Hibernate Docs , custom error messages should be defined as key-value in ValidateMessages.properties and this file must be created in "classpath" directory.
my problem…

HoseinPanahi
- 582
- 2
- 8
- 18
0
votes
0 answers
Additional validation message displayed on mvc app
I have a simple mvc web app, that is searching transactions in the DB using a specified search parameter(named RA number), now I decided to add jquery block ui on my app and I then realized the block fires even when an empty string("" single or…

Mronzer
- 399
- 1
- 7
- 18
0
votes
2 answers
How to set a custom error message for a required form field in Zend Framewor 2?
In my Form I have a Fieldset, that contains two elements foo and bar. The business rule for them is, that one has to be set. So, the fieldset is valid, when foo OR bar is set, and invalid, when no-one is set.
I solved this as follows:
public…

automatix
- 14,018
- 26
- 105
- 230
0
votes
1 answer
How to integrate the element label into the validation error message in ZF2?
I have a form, where the error messages have to be displayed bundled at one place. The default messages are general, so the user sometimes doesn't know, which message is for which form field:
A record matching the input was found
Value is required…

automatix
- 14,018
- 26
- 105
- 230
0
votes
0 answers
Ajax form item validation required message not rendering
I am validating the inputted items of the form when form is submitted through AJAX but the form is not rendering the required message in the h:message section. By full post back method validation method works fine but in AJAX submission method the…

sudonsan
- 1
- 3
0
votes
2 answers
Get error message on isUnique attribute MVC
I have a model property like below,
[Index("CourseCodeIndex", IsUnique = true)]
[MaxLength(15)]
public string Name { get; set; }
and if I use invalid data it works well but returns no error message. Is there any way to show a message on (view, like…

Onick Ahmed
- 91
- 1
- 15