-
AuthorPosts
-
September 16, 2022 at 11:21 pm #1365304
Hi,
when using this form the description of the field “Which class?” is pickable by a user.
This makes absolutely no sense.
Tell me please how to make the form work![av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@........de' from_email='' subject='' autoresponder_email='info@.......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd' sc_version='1.0'][/av_contact_field] [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x' sc_version='1.0'][/av_contact_field] [av_contact_field type='select' label='Which class?' options='"Ohne Geige geht es nicht" (Theorie & Praxis)' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn' sc_version='1.0'][/av_contact_field] [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [/av_contact]
regards
EASeptember 17, 2022 at 12:20 pm #1365329Hey evas49,
I’m not sure I understand your intentions, do you want that field to be descriptive only? If so, then please try to use the Custom HTML or Separator Headline field instead.
Best regards,
RikardSeptember 17, 2022 at 12:30 pm #1365332I gave you the code.
I cant be any more precise.
Just paste in in your testing area and see.September 17, 2022 at 1:38 pm #1365336Hi,
That’s what I did, and the question still stands. Please try to explain the problem you are having a bit further.
Best regards,
RikardSeptember 18, 2022 at 6:02 pm #1365447Hello @yigit, please overtake!
Thank youEven another attempt of making a working form failed.
[av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@.......de' from_email='' subject='' autoresponder_email='info@......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd' sc_version='1.0'][/av_contact_field] [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x' sc_version='1.0'][/av_contact_field] [av_contact_field type='html' label='Welcher Kurs?' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l87iqgil' sc_version='1.0'] Für welchen Kurs möchten Sie anfragen? [/av_contact_field] [av_contact_field type='select' label='' options='"Ohne Geige geht es nicht", "Streichen lernen" / 22.10.2022' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn' sc_version='1.0'][/av_contact_field] [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [/av_contact]
In this case you have a very ugly empty line in the multiselect section.
AND; You can pick the line and send it. ;-(
That is completely crazy cause then the website owner gets a mail without any information about the choosen class.regards
EASeptember 18, 2022 at 7:56 pm #1365457Hi,
Try this shortcode:[av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@.......de' from_email='' subject='' autoresponder_email='info@......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd' sc_version='1.0'][/av_contact_field] [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x' sc_version='1.0'][/av_contact_field] [av_contact_field type='select' label='Für welchen Kurs möchten Sie anfragen?' options='Ohne Geige geht es nicht,Streichen lernen / 22.10.2022' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn' sc_version='1.0' av_contact_preselect=''][/av_contact_field] [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [/av_contact]
Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function add_disabled_to_multi_select_when_form_labels_hidden() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('.avia_ajax_form.av-form-labels-hidden .av-multi-select option:first-child').prop("disabled", true); })(jQuery); }); </script> <?php } add_action('wp_footer', 'add_disabled_to_multi_select_when_form_labels_hidden');
The result is the multi-select label is not clickable:
Best regards,
MikeSeptember 20, 2022 at 4:27 pm #1365731OK.
Mehr Probleme.Dieser Satz steht in Formularen die ich vor wenigen Wochen implementiert hatte.
Dies konnte man in den Formularsettings hinzufügen:
“Bitte löse die Gleichung. Diese Maßnahme dient der Abwehr von Spam”Jetzt kann ich diesen String weder aus den alten Formularen entfernen, noch edtieren, da er einfach nicht mehr da ist.
Er ist allerdings im Frontend noch da – aber nicht im Backend.
???In neuen Formularen taucht dieser Zusatz nicht auf, auch wenn ich exakt dieselben Formularsettings übernehme.
Es kann logischerweise also eigentlich nur daher kommen das in irgendeinem Theme-Update etwas wesentliches vergessen wurdeEA
PS: Soviel Aufwand nur um in einem Formular über oder in einem Multiselect-Feld eine Überschrift zu haben???
Da steht irgendwie die Frage im Raum warum Enfold eine so simple und ständig benötigte Option nicht einbaut bzws warum dieses Formular derart buggy ist.PPS: Bitte lass mich wissen wie die Lösung aussieht wenn ich das möchte – aber ohne wählbaren, häßlichen, leeren grauen Balken:
[av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@.......de' from_email='' subject='' autoresponder_email='info@......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l-6' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd-5' sc_version='1.0'][/av_contact_field] [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x-4' sc_version='1.0'][/av_contact_field] [av_contact_field type='html' label='Welcher Kurs?' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l8ab7kvw' sc_version='1.0'] Für welchen Kurs möchten Sie anfragen? [/av_contact_field] [av_contact_field type='select' label='' options='Ohne Geige geht es nicht,Streichen lernen / 22.10.2022' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn-3' sc_version='1.0'][/av_contact_field] [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df-2' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu-1' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [/av_contact]
- This reply was modified 2 years, 1 month ago by evas49.
September 20, 2022 at 6:43 pm #1365756Hi,
In your form you have the labels hidden with the Hide Form Labels option in the style tab, thus the fields use a placeholder to label the fields:
the placeholder option for the multi select section is to add “disabled” so the option is not selectable as in my solution above:
this keeps the form consist with no labels above the fields.
In your shortcode you have added a text field to act as a label above the multi select section:
I didn’t realize that you wanted a label above this only section, so I recommend removing your text section and adding the text to the Form Element Label:
and adding this css:.avia_ajax_form.av-form-labels-hidden label[for="avia_3_1"] { position: unset; } .avia_ajax_form.av-form-labels-hidden #avia_3_1 option:first-child { display:none; }
which will show the label for this one field:
I added a link to a new test page below, this is the updated shortcode from your last post:[av_contact title='' button='Senden' on_send='' sent='Ihre Nachricht wurde versendet!' link='manually,http://' captcha='active' captcha_theme='light' captcha_size='normal' captcha_score='0.5' email='info@.......de' from_email='' subject='' autoresponder_email='info@......de' autoresponder_reply_to='' autoresponder_subject='' autorespond='' autorespond_after='' hide_labels='aviaTBhide_labels' form_align='' color='' heading_tag='' heading_class='' alb_description='' id='' custom_class='kursformular' template_class='' aria_label='' av_uid='av-l59y6d3l-6' sc_version='1.0' admin_preview_bg=''] [av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-19lvsfd-5' sc_version='1.0'][/av_contact_field] [av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' element_display='' width='' headline_tag='h3' av_uid='av-35sn6x-4' sc_version='1.0'][/av_contact_field] [av_contact_field type='select' label='Für welchen Kurs möchten Sie anfragen?' options='Ohne Geige geht es nicht,Streichen lernen / 22.10.2022' multi_select='aviaTBaviaTBmulti_select' check='' element_display='' width='' headline_tag='h3' av_uid='av-l5e3okhn-3' sc_version='1.0'][/av_contact_field] [av_contact_field type='text' label='Anzahl der Personen?' options='' check='is_number' element_display='' width='' headline_tag='h3' av_uid='av-l59y48df-2' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [av_contact_field type='textarea' label='Anmerkung' options='' check='' element_display='' width='' headline_tag='h3' av_uid='av-l59y4xcu-1' sc_version='1.0' multi_select='' av_contact_preselect=''][/av_contact_field] [/av_contact]
As for your question about the text: “Bitte löse die Gleichung. Diese Maßnahme dient der Abwehr von Spam” (my English translation is: Please solve the equation. This measure serves to protect against spam)
I only see the text: Please prove that you are human by solving the equation *
I’m not sure if it is the same text and your is German, or if your text is added somewhere else, but when the Hide Form Labels option in the style tab is used no text is shown:
if labels are shown it is like this:
if you are seeing something different the check your customizations or Enfold Theme Options ▸ Privacy and Cookies ▸ Append a privacy policy message to template builder contact forms?
Best regards,
MikeSeptember 24, 2022 at 1:36 pm #1366194Hi,
“I didn’t realize that you wanted a label above this only section, so I recommend removing your text section and adding the text to the Form Element Label:”
i dont care if the label is above or inside the field.
I just want both versions to work without creating a mess.
Both versions are buggy without workarounds….and this is …lets say it polite: Not professionalTo make it clear
If you offer a multiselect where users have the choice between “screws” and “bolts” it is a very weird thing to code a form in a way that users can choose “Do you want screws or bolts?” as a buying option.Eva
September 24, 2022 at 2:06 pm #1366197Hi,
Thanks for your feedback and pointing out this issue, I will be submitting the recommendation to the Dev Team for this once we identify the desired result. Which solution do you think is best?
The label inside the field, so that it is similar to the other fields that use a placeholder when the labels are hidden with the Hide Form Labels option:
or the label above the field for this one field only, even though the user has selected the labels to be hidden with the Hide Form Labels option:
Best regards,
MikeSeptember 24, 2022 at 2:27 pm #1366199Of course both should work without workouts.
All other forms i know can do that without issues.other things:
– How do i add a mailsubject like “Kursanfrage” instead the standard “Neue Nachricht (gesendet mittels des Kontaktformulars von Blogtitle)”?
– How do i add specific mailsubjects depending on which class a user has picked?Eva
PS: Can you please look into my other support-threads?
You seem to take your job serious and do it well instead of asking back useless questions.
Can you?September 24, 2022 at 7:31 pm #1366222Hi,
Thank you for your feedback, I have submitted an issue report to the Dev Team for their review, and a solution will most likely be added to a future update.
We need to keep this thread focused on this one issue, so please ask your other questions in separate threads, as keeping each thread on a single topic or issue is most efficient for support and future readers to find solutions, and in this case for the review of the Dev Team.
Thank you for your patience and understanding and using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Bug in Form’ is closed to new replies.