Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1197894

    Good evening folks,

    new problem with the contact form. In the field „element: subject“ I changed
    the “type-formular-element“ (see screenshots) to “selection field“. After I’ve
    done that, in the frontend the word „subject“ is disappeared. Why is it gone?
    The pulldown-menu works normally but I want the „subject“ back. Or is it a
    correct behaviour of the pulldown-menu, that you nothing see if you choose
    the „selection field“? But if that were the case, it would be weird in my opinion.

    Best regards
    Carsten

    #1198821

    Hey Carsten,
    Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_betreff_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      	$('#top.page-id-44 #avia_3_1 option:eq(0)').prop('selected', true)
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_betreff_script');

    Then clear your browser cache and check.

    Best regards,
    Mike

    #1199108

    Good afternoon Mike,

    Thank you very much for your answer and the new code snippet.
    It works very well… great!

    I think that was it for the moment. :) Thanks again! Or maybe one
    more question…why is there an empty line at the bottom of the
    pulldown-menu? Please take a look at the screenshot. It is of course
    not an technical, more an optical, problem. ;)

    Kind regards
    Carsten

    #1199161

    Hi,

    Where can I access this pulldown?

    Best regards,
    Jordan Shannon

    #1199171

    Hi Jordan,

    look to the private content field.

    Best regards
    Carsten

    #1199176

    Hi,

    Thanks, but I mean what page/section?

    Best regards,
    Jordan Shannon

    #1199179

    Hi again,

    just click on the link and then you’re on the right page!
    And then just scroll down to the contact form…there it is!

    Best regards
    Carsten

    #1199213

    Hi,

    Ah I see. Add this to quick css:

    select#avia_3_1 option:last-child{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1199340

    Hi Jordan,

    thx for your new answer and the snippet!
    It works fine in all browsers, but only in Safari it doesn’t.
    Damn Safari ;-/ Do you see a possibility to fix that?

    Best regards
    Carsten

    #1199375

    Hi,

    I can have team member check Safari you.

    Best regards,
    Jordan Shannon

    #1199433

    Hi Jordan,

    thx for the feedback! Ok, I’ll wait.

    Addition: My Safari-Version is an older one (Version: 11.1.2)
    Maybe a newer version hasn’t got this problem?

    Best regards
    Carsten

    • This reply was modified 4 years, 8 months ago by designbasis.
    #1199669

    Hey Carsten,

    Could you please create temporary admin logins and post them here privately so we can look into it? :)

    Best regards,
    Yigit

    #1199826

    Hey Yigit,

    thx for your reply! Ok, look to the private content. Hope it helps! ;)
    I’m looking forward to hear from you again.

    Best regards
    Carsten

    #1199832

    Hi,

    You had an extra comma at the end of your select field. I deleted it and custom CSS code. Please review your website :)

    Best regards,
    Yigit

    #1199853

    Good evening Yigit,

    thank you for your superfast answer! Aaaaaaah, so easy…damn! ;))
    Yes, these are the traps of html, isn’t it? ;)) Thx allot again!

    Kind regards
    Carsten

    #1199893

    Hi,

    I’m glad this was resolved. If you need additional help, please let us now here in the forums.

    Best regards,
    Jordan Shannon

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Contact form / selection-field-problem’ is closed to new replies.