Hi I am trying to use more than one editable field under a conditional field but it seems not to be working. I did this:
However on the the editable field closest to the function is what seems to be working. Any editable field that follows appears under any of the options I choose. Any help here. Thanks
- Code: Select all
<cms:editable
type='radio'
name='post_type'
label='Choose post format'
opt_values='Standard | Video | Audio | Link | Quote'
/>
<cms:func _into='my_cond' post_type=''>
<cms:if post_type='Standard'>show<cms:else />hide</cms:if>
</cms:func>
<cms:editable name='image' label='Image' desc='Recommended image width 2880px' type='image' show_preview='1' preview_width='150' not_active=my_cond/>
<cms:editable name='text' label='Slide Text' type='textarea' not_active=my_cond />
<cms:func _into='my_cond' post_type=''>
<cms:if post_type='Video'>show<cms:else />hide</cms:if>
</cms:func>
<cms:editable name='video' label='Video Embed Code' type='text' not_active=my_cond/>
<cms:editable name='video_featured_content' label='Post Content' desc='Write all your post content here' type='richtext'/>
<cms:func _into='my_cond' post_type=''>
<cms:if post_type='Audio'>show<cms:else />hide</cms:if>
</cms:func>
<cms:editable name='video' label='Video Embed Code' type='text' not_active=my_cond/>
<cms:editable name='audio_featured_content' label='Audio Post Content' desc='Write all your post content here' type='richtext'/>
However on the the editable field closest to the function is what seems to be working. Any editable field that follows appears under any of the options I choose. Any help here. Thanks