Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Contact form - Problems with Send button and hidden fields

1 year 3 months ago #26750 by costelcovacescu
Hi,
I started to create a new site and I have some problems in Joomla 4, please help me.

1. I created a contact form with some form fields. The Send button does not work, with or without Captcha SecureImage. It checks the mandatory fields, but in the end it does not send the form.

2. I created a form field Radio button and I tried to display a hidden field. I followed the steps you wrote in the documentation, but I still couldn't solve it.
I used alias for button and for hide field, I set general parameter for hide field to No.
I created Java Form field like in your documentation, but it does not work.

3. I cannot add a HTML to the field's label, like in Joomla 3, in the page is just simple text.

I use Joomla 4.2.6, PHP Version 8.0.25, CE 4.3.5, Cassiopeia template

Thank you very much for your help.

The page is here

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26751 by support
Dear costelcovacescu,

1. Do you have any required hidden fields? If a field is hidden and required then you will not be able to submit the form until the field is filled.

2. For now you can replace the JavaScript code with the following:
jQuery(function($){
  $('#ce-ff-container-inscriere input').on('change', function(){
    var value = $(this).val();
    if(value == 'PLUS'){
      $('#ce-ff-container-fotografii').css('display','block').removeClass('d-none'); 
    }else{
      $('#ce-ff-container-fotografii').css('display','none'); 
    }
  });
});

3. I'll send a file to your email address with the fix.

Best regards,

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26752 by costelcovacescu
Hello,
1. Yes, I had a required hidden field and now I modified it. It is ok, but with Joomla 3 this was not a condition, I had a hidden mandatory field and I could send the form without problems.

2. I replaced the Java code and now it is fine, the hidden field appears.

3. Although I replaced the original file with the one you sent me by email, I cannot add html to the text field. (In the Admin page, when I save, all the html code disappears, plain text remains.)

Thank you.

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26753 by support
1. That's odd. It shouldn't work on Contact Enhanced for Joomla 3 either.
2. Great.
3. Which field type? are you adding the HTML to the text field or o its label? In the previous message you mentioned you couldn't add it to the label.

Best regards,

Please Log in or Create an account to join the conversation.

1 year 3 months ago #26754 by costelcovacescu
1. It's fine as it is, it's not a big problem for me, but here is an example with hidden field mandatory in Joomla 3. Radio button "2" and mandatory field "Date de facturare".

3. To see exactly, I send you an attachment.

Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

1 year 2 months ago #26757 by support
I'll send a file to your email in a few minutes to fix this issue.

Please Log in or Create an account to join the conversation.

1 year 2 months ago #26758 by costelcovacescu
Thank you very much. Problem solved.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback