• Hi,

    I did numerous test with conditional tags and these are mine conclusions.

    This works(but produces extra line in td so its not aligned with title in aside td.
    <td>
    [udzialtak][udzial] zł[/udzialtak]
    [udzialnie]Nie wybrano[/udzialnie]
    </td>

    This doesn’t work, why (email comes with empty td cells)?
    [udzialtak][udzial] zł[/udzialtak][udzialnie]Nie wybrano[/udzialnie]
    or
    [udzialtak] [udzial] zł[/udzialtak] [udzialnie] Nie wybrano [/udzialnie]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Have you tried:
    <td>[udzialtak][udzial] zł[/udzialtak] [udzialnie]Nie wybrano[/udzialnie] </td>

    Thread Starter Mastafu Design

    (@mastafu)

    Hi,

    No this doesn’t work either.
    I just lost 1.5h trying different scenarios to make it work like it should.

    My setup is.

    Show value from input
    show [dbkaskotak] if [dbkasko] not equals “DBKasko”
    show [telematykatak] if [telematyka] not equals “Telematyka”

    Show Not chosen text
    show [dbkaskonie] if [dbkasko] equals “DBKasko”
    show [telematykanie] if [telematyka] equals “Telematyka”

    Without this Not chosen text is not being displayed, instead empty space with no text is.
    show [dbkaskonie] if [dbkasko] equals “”
    show [telematykanie] if [telematyka] equals “”

    This should show Not chosen, but shows fixed price all the time.
    show [udzialtak] if [dbkasko] not equals “DBKasko”

    This shows fixed price
    show [udzialnie] if [dbkasko] equals “DBKasko”

    So basically I can’t condition 2 groups with 1 cf7 field, why ?

    Thread Starter Mastafu Design

    (@mastafu)

    And there is another issue.

    Why I can’t hide /show whole section with tr / td.
    It still shows td with title, and leavese empty value TD.

    [dbkaskotak]
    <tr style="width: 100%">
    	<td style="padding: 5px; width: 200px;  border-bottom: 1px solid #efe7e7;">DBKasko: </td>
    	<td style="padding: 5px; border-bottom: 1px solid #efe7e7;">
    	<b style="color: #f7941e">
    		[dbkasko] zł
    	</b>
    	</td>
    </tr>
    [/dbkaskotak]
    [telematykatak]
    <tr style="width: 100%">
    	<td style="padding: 5px; width: 200px;  border-bottom: 1px solid #efe7e7;">Telematyka: </td>
    	<td style="padding: 5px; border-bottom: 1px solid #efe7e7;">
    	<b style="color: #f7941e">
    		[telematyka] zł
    	</b>
    	</td>
    </tr>
    [/telematykatak]
    [udzialtak]
    <tr style="width: 100%">
    	<td style="padding: 5px; width: 200px;  border-bottom: 1px solid #efe7e7;">Udział własny w szkodzie: </td>
    	<td style="padding: 5px; border-bottom: 1px solid #efe7e7;">
    	<b style="color: #f7941e">
    		5000 zł
    	</b>
    	</td>
    </tr>
    [/udzialtak]
    
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with conditional tags layout’ is closed to new replies.