Webform Conditionals

unold's picture
unold
Wed, 02/10/2016 - 14:13
#1
Webform Conditionals

If I set a condition on a webform, so a field should only be visible when the condition is true, the field is always visible no matter the condition.

How to make the webform conditionals work properly?  

phuonght's picture
phuonght
Tue, 02/16/2016 - 23:43

Hi,

Please

1- go to theme settings => custom code => custom css code, insert following: 

.webform-client-form input:focus {
color: #000;
}

2- open file sites\all\themes\md_make\theme_setting\front\function.theme.inc

line 367:

elseif (stristr($form_id, "webform_client_form")) {
$form['#attributes']['class'] .= 'contact-form support-form';

remove

 $form['#attributes']['class'] .= 'contact-form support-form';

Save and clear cache.

unold's picture
unold
Fri, 07/08/2016 - 06:02

Hello again. 

I still have problems with this. I made the changes above, but conditionals does still not work. 
Have a look at this page (link is only active for 24 hours): http://shoutkey.com/look

If you check "Book personligt investormøde" a dropdown/select list should appear - but nothing happens?

cindy's picture
cindy
Sun, 07/10/2016 - 22:14

Hi,

Please give us your site url, admin account and FTP account so that we can check and fix your issue

unold's picture
unold
Mon, 07/11/2016 - 04:34

Thanks - You've got mail. :) Please let me know what changes you make. 

cindy's picture
cindy
Mon, 07/11/2016 - 06:23

Hi,

We fixed your issue already

Please check!

The check box's js style cause the problem, so we removed it

Please check file file application.js in sites/all/themes/md_make/js
line 350

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.