Hello is there any way of putting it only with a message?

Attached image.

Comments

attiks’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

I need a bit more information, do you want only one error message, or do you want to theme it in another way?

saidatom’s picture

I need only one error message. It's Possible?

attiks’s picture

Assigned: saidatom » jelle_s
Category: task » feature
Status: Postponed (maintainer needs more info) » Active

Not for the moment, turning this into a feature request:

@TODO:

  • one message for all fields
  • configurable for each webform component
saidatom’s picture

How to do it?

attiks’s picture

Status: Active » Needs work

Create 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.

attiks’s picture

For 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

saidatom’s picture

I'm not understand how you can help change this?

attiks’s picture

The 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.

attiks’s picture

Status: Needs work » Fixed

Kind of fixed in dev version, if not re-open

saidatom’s picture

Assigned: jelle_s » Unassigned

I change code, and module don't work

attiks’s picture

Status: Fixed » Postponed (maintainer needs more info)

To be able to help you, i need a bit more information

saidatom’s picture

I 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.

attiks’s picture

Both your problems should be fixed in the latest dev version, can you post the URL of the site with the problem?

saidatom’s picture

attiks’s picture

Strange problem, your javascript file is the latest version, so try:

  1. clearing the cache
  2. uninstall clientside_validation, remove the directory and re-install
  3. clear browser cache
  4. try again
saidatom’s picture

I test and exists one problem, in select options -> multiple.

checks: http://DiogoBrantuas.saidatom.com/contactos

saidatom’s picture

It's Possible change the error message in DATA?

Example
http://s15.postimage.org/j3du4rh9l/image.png

attiks’s picture

Status: Postponed (maintainer needs more info) » Active

There are theme function you can override in your theme to alter the message.
To translate them use the build in translate of Drupal.

saidatom’s picture

I 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.

attiks’s picture

you can define custom jquery selectors to position the error message

attiks’s picture

Assigned: Unassigned » jelle_s
Status: Active » Needs work

@saidatom: the bug for select options is confirmed, will be fixed tomorrow

saidatom’s picture

I found out a mistake when we chose select -> multiple and not put as mandatory as it takes.

Can check: http://diogoBrantuas.saidatom.com/contactos

jelle_s’s picture

Status: Needs work » Fixed

fixed in the latest dev version

saidatom’s picture

I 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

attiks’s picture

Date 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.

saidatom’s picture

Status: Fixed » Needs work

I 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.

attiks’s picture

Status: Needs work » Postponed (maintainer needs more info)

I 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

saidatom’s picture

In noticing my page if the checkbox is not mandatory.
But he only sends it when you place the robin.
Need any more information?

attiks’s picture

Please 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

attiks’s picture

saidatom’s picture

The checkbox is already working well. Thanks

attiks’s picture

Status: Postponed (maintainer needs more info) » Fixed
saidatom’s picture

Need more information?

attiks’s picture

More information for what? In #31 you said it's working.

saidatom’s picture

Sorry i confused.I thought I was talking the other issue (#1504422).

attiks’s picture

Assigned: jelle_s » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.