Forum Replies Created

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

    (@lextof)

    @jules-colle Sure, but I’ll have to ask someone else. I’ll let you know. All I can see is version 5.1 for CF7 and version 1.4.1 for CF7 7 Conditional Fields plugin.

    But what I find strange is that one form is working with conditional fields and another one not.

    I’ll let you know more if I find out the integration part.

    Cheers, Alex

    Thread Starter lextof

    (@lextof)

    @jules-colle You can find the form active on: https://eurol.com/test-2/

    In order to keep it clean I only configured one field that holds custom fields to be shown. You can select: Motor, Transmissie, Brandstoffen, Hydrauliek, Aandrijving cardan or Andere to trigger a hidden custom field. All other options doesn’t require extra input for us.

    Below the code I have used.

    On https://eurol.com/sponsoring/ is another form that also have some conditional fields that are truly working. Just select any type of sponsoring.

    
    <label for="cf-equipment-part"><span class="cf-label">Materieel onderdeel*</span>[select* cf-equipment-part id:cf-equipment-part class:cf-equipment-part include_blank "Rollend materieel" "Stationair materieel" "Motor" "Transmissie" "Brandstoffen" "Hydrauliek" "Vetten" "Koelcompressor" "Turbine" "Transformator" "Thermische olie" "Aandrijving cardan" "Koelvloeistoffen" "Andere"]</label>
    
    [group Engine]
    <h4>Motor</h4>
    <span class="cf-label">Definieer type motor*</span>[radio cf-equipment-engine id:cf-equipment-engine class:cf-equipment-engine use_label_element default:0 "Benzine" "Diesel" "Biodiesel" "Gasmotor op aardgas" "Gasmotor op biogas" "Gasmotor op stortgas"]
    [/group]
    
    [group Transmission]
    <h4>Transmissie</h4>
    <span class="cf-label">Definieer type transmissie*</span>[radio cf-equipment-transmission id:cf-equipment-transmission class:cf-equipment-transmission use_label_element default:0 "Manueel" "Automatisch"]
    [/group]
    
    [group Fuels]
    <h4>Brandstoffen</h4>
    <span class="cf-label">Definieer type brandstof*</span>[radio cf-equipment-fuel id:cf-equipment-fuel class:cf-equipment-fuel use_label_element default:0 "Benzine" "Diesel"]
    [/group]
    
    [group Hydraulique]
    <h4>Hydroliek</h4>
    <span class="cf-label">Definieer type hydrauliek*</span>[radio cf-equipment-hydraulique id:cf-equipment-hydraulique class:cf-equipment-hydraulique use_label_element default:0 "Pomp" "Ventielen"]
    [/group]
    
    [group Cardan]
    <h4>Aandrijving cardan</h4>
    <span class="cf-label">Definieer type aandrijving cardan*</span>[radio cf-equipment-cardan id:cf-equipment-cardan class:cf-equipment-cardan use_label_element default:0 "Differentieel voorbrug" "Differentieel achterbrug" "Eindaandrijving" "Reductiekast" "Pompreductie"]
    [/group]
    
    [group Other]
    <h4>Andere</h4>
    <label for="cf-equipment-other"><span class="cf-label">Definieer type materieel*</span>[text cf-equipment-other id:cf-equipment-other class:cf-equipment-other]</label>
    [/group]
    
    <button type="submit" class="button">Versturen</button>
    

    Conditional Fields:

    
    show [Engine] if [cf-equipment-part] equals "Motor"
    show [Transmission] if [cf-equipment-part] equals "Transmissie"
    show [Fuels] if [cf-equipment-part] equals "Brandstoffen"
    show [Hydraulique] if [cf-equipment-part] equals "Hydrauliek"
    show [Cardan] if [cf-equipment-part] equals "Aandrijving cardan"
    show [Other] if [cf-equipment-part] equals "Andere"
    
    Thread Starter lextof

    (@lextof)

    Thanks Allen,

    Excellent response time, I must say ??

    I think we will manage to change the files you specified. Please feel free to post the code ??

    Cheers Alex.

Viewing 3 replies - 1 through 3 (of 3 total)