Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

SOME INPUTS ARE NOT VALID A value, sumbitted for..

More
9 years 2 months ago - 9 years 1 month ago #2086 by d2dpcs
Nice component so far!

I get the following error when testing my first form with Visform.

SOME INPUTS ARE NOT VALID
A value, sumbitted for the field "If Yes (select your ad size)" is invalid.

url: www.ropl.org/pin

Thanks.
Last edit: 9 years 1 month ago by d2dpcs. Reason: Marked as answered

More
9 years 2 months ago - 9 years 2 months ago #2087 by d2dpcs
Hmm... I turned off all of the spam options and it worked the first time afterwards. Second and third attempts show the error again. Thanks for your help.
Last edit: 9 years 2 months ago by d2dpcs.

More
9 years 2 months ago #2088 by Administrator AV
Replied by Administrator AV on topic SOME INPUTS ARE NOT VALID A value, sumbitted for..
Hi,

thanks for your post.
It would be helpful to know the Visforms and Joomla! versions.

I tested the form twice (in a row) without problems.

Do you receive exactly this message text SOME INPUTS ARE NOT VALID (in upper case)? Because in Visforms you would receive either this message text in lower case or an untranslated language tag, but the tag is COM_VISFORMS_FORM_HAS_INVALID_INPUTS.

The message "Some inputs are not valid" is only a header, which should only be displayed in combination with another error message line, that specifies which inputs are not valid.

So, if the problem is still there, I need some more information.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
9 years 1 month ago #2102 by d2dpcs
I am using Visforms 3.5.7 and Joomla 3.4.4.

I didn't get a confirmation email that you submitted the form successfully.

Yes, the message text is all caps... probably due to my template css. My original post did state the field that is invalid:
"A value, sumbitted for the field "If Yes (select your ad size)" is invalid."

Thanks,
Eric

More
9 years 1 month ago #2103 by Administrator AV
Replied by Administrator AV on topic SOME INPUTS ARE NOT VALID A value, sumbitted for..
Hi Eric,

I'm not sure, but one problem with these radio-buttons is, that you entered the full description text again as option value. You are using " an '' and many special characters in the option value and that does break the form. For example the source code for one option looks like that:
Code:
<input id="field19_3" class=" inputbox visCSSbot5 " type="radio" aria-labelledby="ad-sizelbl ad-sizelbl_3" ($250)"="" color="" full="" cover,="" front="" or="" back="" inside="" 3.75"),="" x="" value="1/2 page (4.5" name="ad-size">

So when a user submits the option the submitted value is
Code:
1/2 page (4.5" name="ad-size

but the original value, which you entered in the field configuration and against which the php validation checks is
Code:
1/2 page (4.5" x 3.75"), inside back or front cover, full color ($250)

This is, why the php validation fails and the error message is send.
So please change the texts of your option values and avoid the special characters (at least single or double quotes).

I think I have to add a validation in the field configuration, to avoid at least special characters like " in the option value.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
9 years 1 month ago #2104 by d2dpcs
Aicha,

Yes, that was it. I removed the " and it works fine. Thanks!

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum