• Resolved shreyal

    (@shreyal)


    [group under14]
    
    <label>Event 1: </label>
    [select* event-one include_blank "60 Meters" "600 Meters" "Long Jump" "High Jump" "Shot Put" "Ball Throw" "Triathlon (1 Day)"]
    
    <label>Event 2: </label>
    [select* event-two include_blank "60 Meters" "600 Meters" "Long Jump" "High Jump" "Shot Put" "Ball Throw" "Triathlon (1 Day)"]
    
    [/group]
    
    [group under16]
    
    <label>Event 1: </label>
    [select event-one include_blank "100 Meters" "300 Meters" "800 Meters" "2000 Meters" "80m Hurdles" "High Jump" "Long Jump" "Shot Put" "Discus Throw" "Hammer Throw" "Javelin Throw" "Medley relay" "Hexathlon (2 Days)" "5000m Race Walk" "2km Cross Country"]
    
    <label>Event 2: </label>
    [select event-two include_blank "100 Meters" "300 Meters" "800 Meters" "2000 Meters" "80m Hurdles" "High Jump" "Long Jump" "Shot Put" "Discus Throw" "Hammer Throw" "Javelin Throw" "Medley relay" "Hexathlon (2 Days)" "5000m Race Walk" "2km Cross Country"]
    
    [/group]

    I want to show one of the groups as per the condition matches.

    show [under14] if [age] less than "14 years 0 months and 1 days old"
    show [under16] if [age] greater than "14 years 0 months and 0 days old"
               and if [age] less than "16 years 0 months and 1 days old"

    Basically, it should show the [group under14] if the age is below 14 years or [group under16] if the age is above 14 years but below 16 years 0 months and 1 days old. It is working fine it is showing correct field as per age, but it is not collecting the data of [group under14] when the age is below 14 years and is collecting the data of [group under16] when the age is below 16 years and above 14 years 0 months and 1 days.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not collecting data if added multiple condition’ is closed to new replies.