It seems that every message in the localization is working fine with the exception of the default "Please fill out this field".
I found this answer How do I change the error message "Please fill out this field?"
But I have already added the messages file and it all the other messages are fine. To add to the fun, it works in safari but not Chrome or IE.
Anyone know where I can find this?
There is no Parsley message "Please fill out this field". It might be a HTML5 validation message for required constraint. Please add a novalidate tag in your <form> tag to disable HTML5 validation and let Parsley only do the job (btw, this would be an automatic behavior of Parsley2)
Related
I had a functioning setup. Then my admin made some Jira changes and now every time I do a checkin in PlasticSCM's Windows GUI I get the error message:
"Unable to log checkin data into issue tracker: The remote server returned an error (400) Bad Request."
Below is my configuration. I have tried removing the Custom Field ID but it still throws the error. What else can I try? How can I capture the request being sent? If I click "Test Connection" it is successful.
Unsurprisingly, the issue was on the Jira side. I got my Admin to make me an Admin so I could troubleshoot.
In plastic, get in a branch tied to a specific jira ticket. Check in a change so you get the error message. Good. Now, go to that Jira ticket. under the "Admin" button in the top middle, select "Add field". Find the field tied to the custom field number Id in plastic's configuration. If you followed Plastic's tutorials to set all this up originally, the field is called "Plastic SCM".
Now, it won't actually add the field, since the field is present on the page, but hidden because it has no value. You will see an "Edit" option. pick that. Enter any text like "Empty text". This is what is key, I think. It might be that the value was null, and now that you set it to an actual string, the field shows up. With this new text value, the Plastic SCM field should be displayed on the page somewhere. If you are still having trouble , choose "Where is my field?" from the admin button and look at the information displayed.
Now, make a minor change in your code and do a new checkin in plastic. No error message, right? Yay. Also, you should see check-in information displayed in the ticket now.
I know what you are thinking, sure, that worked for just one ticket, what about all the rest? Well, it seems like making this change has a cascade effect on other tickets in the same project, so you won't have to do it repeatedly. Weird.
I've made a fairly simple "Coming soon" page for a client here and I have a very strange problem. Normally I'm the "go-to" CSS specialist of everyone I personally know, but on this one I am out of resources/ideas trying to figure it out.
On iPhones, using the default browser (Safari), the email input, which has a type="text", just like the name field, displays a white border instead of a blue one. The client reported the problem (she has an iPhone6 - not sure if S or not) and I tested it myself with on an ancient piece (4s) we just keep around the office for testing. For all I know, border-color is a CSS1 property, same as border-width and border-style. They are all applied explicitly so, basically no browser in the world should have a problem rendering it.
I haven't been able to reproduce the issue in any emulator or online snippet tool, so I don't see any point in posting code here. I'm assuming someone with proper iOS/Safari debugging tools/environment might be able to inspect the element and see why the CSS doesn't apply. I also tested the CSS for errors. The one I applied (child theme) is bug free. The parent theme CSS reports some issues but they're mostly vendor prefixes. But it's a good, well designed and well coded theme: Enfold by Kriesi.
EDIT: On further testing I just discovered the color property is also set to white too, when it should be the same blue: #255AA8.
Any idea on how I could debug this (on a Windows 10 machine) is also welcome.
Thank you for your time.
I found the problem... in the themes's .js.
Apparently, it detects if on mobile (somehow they do it properly - as the script doesn't fire in emulators) and if the field requires an email address, the type attribute is changed from text to email via js, so the email keyboard layout pops up when user inputs their email.
Adding
#top div .av-light-form input[type="email"] {
}
to my list of selectors did the job.
How can I customizs error message in django-allauth?
I already implement overriding input forms for login
and it does work very well.
but, i want to build new error message when password mismatch.
I'm not 100% on this, but I believe you would have to make a custom form to do that. If you look into the directory: lib/allauth/account/forms.py in your project you should see all of the forms with their default error messages. It's bad practice to edit this file directly so you would have to make a custom form with the error messages you would like.
We have an existing text field 'Defect Found Version' (DFV) and a new Field I have created 'Defect Found Version Picker'
I have made the Picker mandatory & that works fine, listing all the cersions on the project.
The DFV field is set to 'Optional' on the right hand side of the Configure Field layout page, however next to the name on the left there is the text REQUIRED & I can not see how to disable this.
Even if I remove this field from all screens I get an error when I create a bug saying that DFV is required.
Any thoughts please ?
Look at the Field Configuration Scheme used by the JIRA project. Then look at the field configuration used for that issue type. That's where it is being made required. Unless it's because of the JIRA Behaviour plugin, so check if that is active
Do you have take a look on your Workflow validator ?
Sometimes, it's required on your workflow, and not on your screen.
When setting the Required property of a IntraWeb control I get a nice little message box saying "Bezeichnung is a required field" if I leave it blank.
How can I change the Text of those messages?
(My application is in german language)
Well, I finally found a hint in the atozed-Forums:
Copying IWResourceStrings.pas to my projects main folder and changing the needed strings to german works for me...
Maybe someone else will find this helpfull, too one day ;-)