Skip Navigation

[Resolved] Conditional area not working for if featured image is uploaded

This support ticket is created 5 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Shane 5 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1199233

I am trying to: Show a field only if the featured image has been uploaded

Link to a page where the issue can be seen: not available without logging in

I expected to see: field display once image is uploaded

Instead, I got: field displays for a microsecond and then disappears again.

Beda Schmid is aware of this and has already responded to me in the FB group and has created an internal ticket but asked me to also submit a support request.

#1199303

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jon,

Thank you for contacting our support forum.

I'll send Beda an email about this but could you let me know the conditional statement you are using ?

You can copy and paste it in your next response so that I can take a look.

Thanks,
Shane

#1199308

Thanks Shane.

This is the code I'm using (via the 'Add conditional groups' button):

[cred_show_group if="( $(_featured_image) ne '' )" mode="fade-slide"][cred_field field='news-alt-text-for-image' force_type='field' class='form-control' output='bootstrap' placeholder='Please describe the image used'][/cred_show_group]

Cheers

Jon

#1199316

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jon,

Thank you, I can confirm that this has been in fact escalated and i've added your forum ticket to it.

Nothing much I can do here, hopefully a solution for this will be made soon.

Thanks,
Shane

#1199318

Thanks Shane. I look forward to a fix in a future update, hopefully fairly soon.

#1199432

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

escalated

#1203801

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jon,

A temporary workaround has been posted for this one .
https://toolset.com/errata/toolset-forms-conditional-breaks-while-listening-to-an-ajax-media-upload-field/

Could you try and let me know if this works for you.

Thanks,
Shane