Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thehawkman

    (@thehawkman)

    I guess you’re not using IE. I’m using IE11 on Windows 8.1 (not always, but sometimes when I’m lazy I will open it up instead of Firefox). In IE the field looks different, no up/down arrows on the right and behaves differently like I said prior. In Chrome it’s different as well, now that we’re on the subject. Firefox and Chrome both displays those arrows on the right, unlike IE, but while Firefox will allow you to type in letters but will popup the warning if you do, Chrome won’t allow you to type in letters at all, you will only be able to type in numbers. I think this issue could use a fix, because that form will unavoidably be used by some people using IE or Edge (which I don’t have). Are you using Javascript validation? Because I can’t help but wonder what will happen if someone disables Javascript in their browser. Does this mean the validation would stop working completely? And in another head scratching moment, it seems this form now refuses to display the “successful submission” message.

    Thread Starter thehawkman

    (@thehawkman)

    Thousands of users of CMB2 out there and it just happens to me. Sigh… OK. I’ve stripped down the form and even disabled the custom post type plugin I made in case something in it was interfering with CMB2. I’ve posted the simplified form here
    https://pastebin.com/cevet5ts

    Reset the database, tried it with just CMB2 and this https://github.com/CMB2/CMB2-Snippet-Library/blob/master/front-end/cmb2-metabox-shortcode.php# active and with regular posts, although I don’t think it was the custom post type plugin being the problem or else it would be working. I’ve tried to submit letters instead of numbers and what I found is that this time the field just gets ignored (not saved at all) if I insert incorrect (non-numeric) values. As evidenced by enabling custom fields display in the backend of wordpress, the developer name field gets saved, but the numeric only one (where I entered “KKKKK”) isn’t in the database, which I confirmed by looking at the DB in phpmyadmin. WP is 4.7.3, PHP 5.2.8 on XAMPP.

    Thread Starter thehawkman

    (@thehawkman)

    Taxonomies now saving correctly after that change. Much appreciated.

    Thread Starter thehawkman

    (@thehawkman)

    From the looks of things, you have no calls to something like wp_set_object_terms or similar that would do the taxonomy term associations.

    I thought the plugin was supposed to handle that?

    At best you’re presently saving the intended terms as post meta, which is a separate thing in regards to posts.

    I’m doing what is recommended in the examples. Nowhere in the documentation does it say you have to write your own routine for saving taxonomies (if that’s what you’re saying), which would have saved me a lot of time and aggravation.

    Are there any plans to support taxonomies at least in a later update? I can’t believe that I am the only person who ran into this issue before. While I am more experienced than the average user (I can manage a website and install web apps such as WordPress, even make my own themes and all), I am not really skilled enough with PHP to write my own code, hence your suggestion that I do isn’t going to help much.

Viewing 4 replies - 1 through 4 (of 4 total)