Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nisignia

    (@nisignia)

    Yup, removing use_label_element solves it, I guess you know why this happens.

    Thank you for your prompt replies.

    Thread Starter nisignia

    (@nisignia)

    Sure, these are conditions. I’ll try your suggestion as well

    show [group-occupation] if [aic-occupation] equals "Other"
    show [referral-preference-other] if [aic-referrals-private] equals "Other"
    Thread Starter nisignia

    (@nisignia)

    Hi Angus,

    sorry for my really bad initial explanation. I do use Conditional Fields, this is where the problem is. So I have a series of checkboxes created in CF7. Last checkbox should open a conditional field when checked and that works OK without material design. Unfortunately, when I create a MD form (wrap regular elements with md tags), clicking on specified checkbox does not automatically display hidden conditional field. Additionally, I have to click on other form field to trigger the action. Same happens for another conditional field where radio button triggers the action.
    This is the form layout. As you can see, conditional fields are wrapped in group tags, being hidden until checkbox or radio button are selected. Conditions are set properly, they work when form doesn’t use MD.

    [md-form]
    
    [md-text label="Email address"]
    [email* aic-md-email]
    [/md-text]
    
    [md-text label="Name"]
    [text* aic-md-name]
    [/md-text]
    
    Occupation
    [md-checkbox]
    [checkbox aic-occupation use_label_element "Architect/ Building Designer" "Builder" "Consultant" "Developer" "Interior Designer" "Investor" "Realtor" "Subcontractor" "Other"]
    [/md-checkbox]
    [group group-occupation clear_on_hide]
    [md-text label="Please specify other occupation"]
    [text aic-occupation-other id:other-occupation-id]
    [/md-text]
    [/group]
    
    [md-text label="Company"]
    [text aic-md-company]
    [/md-text]
    
    [md-text label="Website"]
    [text aic-md-website]
    [/md-text]
    
    [md-text label="Primary Phone Number"]
    [tel aic-md-phone]
    [/md-text]
    
    [md-textarea label="More about yourself or your company"]
    [textarea aic-md-about]
    [/md-textarea]
    
    Would you like any changes to the current AIC list serve policy about keeping referrals private?
    [md-radio]
    [radio aic-referrals-private use_label_element default:1 "Please keep referrals private." "I would like referrals to be shared with the entire group." "Other"]
    [/md-radio]
    [group referral-preference-other clear_on_hide]
    [md-text label="Please specify other preference"]
    [text aic-referrals-private-other]
    [/md-text]
    [/group]
    
    [md-submit]
    [submit "Send"]
    [/md-submit]
    
    [/md-form]
Viewing 3 replies - 1 through 3 (of 3 total)