hi,
I have this conditional output somewhere (in a form actually)
and nothing is output.
#############
[wpv-conditional if="( '[page_title]' eq 'compte-membre-company-etape2' )" debug="true"]
[cred-form-submit field='submit' name='submit' label="J'ai terminé mon inscription !" class="FV_bouton_petit_bleu btn"]
[/wpv-conditional]
[wpv-conditional if="( '[page_title]' ne 'compte-membre-company-etape2' )" debug="true"]
[cred-form-submit field='submit' name='submit' label="Enregistrer" class="FV_bouton_petit_bleu btn"]
[/wpv-conditional]
Test :
[page_title]
[wpv-conditional if="( '[page_title]' = '[page_title]' )" debug="true"]
HELLO ALWAYS TRUE
[/wpv-conditional]
#############
it should always display something because the conditions are the negation of eachother, but it doesn't output anything.
the shortcode used "[page_title]" is returning "compte-membre-company-etape2" ..... as you can see on the page :
hidden link
... and the debug is not showing anyting.....
why ?
thanks
Hi there,
May I know where you ad those conditionals? Inside a Form in expert mode?
If yes please check this erratum:
https://toolset.com/errata/form-content-reset-if-form-editor-section-collapsed-when-saving/
Make sure you update Toolset and toolset addons:
- IMPORTANT STEP! Create a backup of your website.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "check for updates" button.
- Update Toolset and its addons there.
I also checked the link you shared and it does not show any of the stuff you mentioned. Maybe I see it wrong?