Skip to main content
code formatting
Source Link
Derek Hogue
  • 17.4k
  • 2
  • 27
  • 42

I'm using Freeform Pro 4.0.12.

Does exp:freeform:entries allow for nested if statements, like below?

{if freeform:field:yes_no_002 == "Y"}
                            <tr>
                                <td colspan="2">&nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">Person 2:</td>
                            </tr>
                        
                            {if freeform:field:r_type_of_presentation == "Roundtable"}
                                <tr>
                                    <td>Are you a moderator or Discussionist?</td><td>{freeform:field:r_round_table_leaders_002}</td>
                        <td>{freeform:field:r_round_table_leaders_002}</td>
        </tr>
                            {/if}
{/if}

{/if}

I haven't been able to get this to work.

Thanks

Peter T

I'm using Freeform Pro 4.0.12.

Does exp:freeform:entries allow for nested if statements, like below?

{if freeform:field:yes_no_002 == "Y"}
                            <tr>
                                <td colspan="2">&nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">Person 2:</td>
                            </tr>
                        
                            {if freeform:field:r_type_of_presentation == "Roundtable"}
                                <tr>
                                    <td>Are you a moderator or Discussionist?</td><td>{freeform:field:r_round_table_leaders_002}</td>
                                </tr>
                            {/if}

{/if}

I haven't been able to get this to work.

Thanks

Peter T

I'm using Freeform Pro 4.0.12.

Does exp:freeform:entries allow for nested if statements, like below?

{if freeform:field:yes_no_002 == "Y"}
    <tr>
        <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="2">Person 2:</td>
    </tr>
                        
    {if freeform:field:r_type_of_presentation == "Roundtable"}
        <tr>
             <td>Are you a moderator or Discussionist?</td>
             <td>{freeform:field:r_round_table_leaders_002}</td>
        </tr>
    {/if}
{/if}

I haven't been able to get this to work.

Thanks

Peter T

Source Link
user1469
  • 291
  • 1
  • 7

Freeform Pro: nested if statement

I'm using Freeform Pro 4.0.12.

Does exp:freeform:entries allow for nested if statements, like below?

{if freeform:field:yes_no_002 == "Y"}
                            <tr>
                                <td colspan="2">&nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">Person 2:</td>
                            </tr>
                        
                            {if freeform:field:r_type_of_presentation == "Roundtable"}
                                <tr>
                                    <td>Are you a moderator or Discussionist?</td><td>{freeform:field:r_round_table_leaders_002}</td>
                                </tr>
                            {/if}

{/if}

I haven't been able to get this to work.

Thanks

Peter T