[resolved] Raw Types and Zero Values (3 posts)

  1. Cory Lamle
    Posted 2 years ago #

    Hi Types Authors...

    There are still two bugs that remain in the product that were introduced in version 1.2.

    1. Raw Types are still being processed with a do_shortcode
    See Method WPCF_Field->html()
    If a user stored the following value in a field such as:
    [slider id="my-id"] and then calls:
    types_render_field("my-field", array("raw" => "true"))
    The shortcode is applied. This doesn't work for theme authors who truly need the value back as 'raw' as they will be doing there own processing of the data. Performing do_shortcode isn't truly raw because the data that comes back is different then what is stored in the database.

    2. When a user creates a numeric text box, and then try to put "0" zero in it the value will not save. Yet 0.0 will save. 0 is a whole number so it should save just like any other numeric value.

    Both the the fixes can be found in this thread:



  2. Srdjan
    Plugin Author

    Posted 2 years ago #

    Fixes are added for next release for both issues.

  3. Cory Lamle
    Posted 2 years ago #

    Fixes work well!

    Thanks Srdjan!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.