Closed (fixed)
Project:
Clientside Validation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 15:31 UTC
Updated:
11 Apr 2012 at 20:00 UTC
Hello is there any way of putting it only with a message?
Attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| Captura de ecrã - 2012-03-05, 14.15.40.png | 39.34 KB | saidatom | |
| Captura de ecrã - 2012-03-05, 14.15.50.png | 21.28 KB | saidatom |
Comments
Comment #1
attiks commentedI need a bit more information, do you want only one error message, or do you want to theme it in another way?
Comment #2
saidatomI need only one error message. It's Possible?
Comment #3
attiks commentedNot for the moment, turning this into a feature request:
@TODO:
Comment #4
saidatomHow to do it?
Comment #5
attiks commentedCreate a patch that adds the option to the webform options of the date element, and alter clientside_validation.module to act on the selected setting.
Comment #6
attiks commentedFor background information on how to create a patch, see http://drupal.org/node/707484 and if you do start from the development copy, best is to clone the git repository: http://drupal.org/project/clientside_validation/git-instructions
Comment #7
saidatomI'm not understand how you can help change this?
Comment #8
attiks commentedThe code of the module has to be changed, for the moment we don't have the time do it, the instructions in #6 explain how you can start doing it yourself.
Comment #9
attiks commentedKind of fixed in dev version, if not re-open
Comment #10
saidatomI change code, and module don't work
Comment #11
attiks commentedTo be able to help you, i need a bit more information
Comment #12
saidatomI need only appear an error in the date field (example text: Fill in the fields date / month / year xxxxxxx) and select options -> Multiple well with only one error message you see one appear for each option we place.
Comment #13
attiks commentedBoth your problems should be fixed in the latest dev version, can you post the URL of the site with the problem?
Comment #14
saidatomhttp://DiogoBrantuas.saidatom.com/contactos
Comment #15
attiks commentedStrange problem, your javascript file is the latest version, so try:
Comment #16
saidatomI test and exists one problem, in select options -> multiple.
checks: http://DiogoBrantuas.saidatom.com/contactos
Comment #17
saidatomIt's Possible change the error message in DATA?
Example
http://s15.postimage.org/j3du4rh9l/image.png
Comment #18
attiks commentedThere are theme function you can override in your theme to alter the message.
To translate them use the build in translate of Drupal.
Comment #19
saidatomI know but the error message appears in the wrong place. That's what I meant and error message appears selct options number 1 instead of being a do.
Comment #20
attiks commentedyou can define custom jquery selectors to position the error message
Comment #21
attiks commented@saidatom: the bug for select options is confirmed, will be fixed tomorrow
Comment #22
saidatomI found out a mistake when we chose select -> multiple and not put as mandatory as it takes.
Can check: http://diogoBrantuas.saidatom.com/contactos
Comment #23
jelle_sfixed in the latest dev version
Comment #24
saidatomI found out a mistake when we chose select -> multiple and not put as mandatory as it takes.
AND
In the date field the error message does not appear beneath all the fields, as in all other fields. The message appears below the field day.
Can check: http://diogoBrantuas.saidatom.com/contactos
Comment #25
attiks commentedDate fields are separate fields, so if you choose to add the errors inline, they are added after the field, not after the containing div of the three date fields. If you want this, open a new feature request.
Comment #26
saidatomI found out a mistake when we chose select -> multiple and not put as mandatory as it takes.
AND
In the date field the error message does not appear beneath all the fields, as in all other fields. The message appears below the field day.
Comment #27
attiks commentedI had a look at your page, it show a textfield and checkbox as required as it should. So please provide a better description of the problem you're facing.
For the date field, see #25
Comment #28
saidatomIn noticing my page if the checkbox is not mandatory.
But he only sends it when you place the robin.
Need any more information?
Comment #29
attiks commentedPlease have a look at http://testswarmcv.h001.attiks.com/i1468868 this is similar to your form using the latest stable version of webform and the latest dev version of clientside_validation
Comment #30
attiks commented#1504422: Error Message Date
Comment #31
saidatomThe checkbox is already working well. Thanks
Comment #32
attiks commentedComment #33
saidatomNeed more information?
Comment #34
attiks commentedMore information for what? In #31 you said it's working.
Comment #35
saidatomSorry i confused.I thought I was talking the other issue (#1504422).
Comment #36
attiks commented