• I have a custom text field called “notes” that I am using for very brief phrases to be put in parens after an item name.

    Worked fine until I tried to put in a link (anchor tag). It couldn’t handle the double quotes. Even a single word in quotes — “test” — failed. Tried single quotes, in which case it added slashes but didn’t strip them on display.

    I found a workaround, which was to create a new textarea field and use it instead. This works fine, so the problem is evidently just with text fields.

    Other than this problem, Verve Meta Boxes has been a great help to me, and I’m very happy with it.

    http://wordpress.org/extend/plugins/verve-meta-boxes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Having the same problem, any help on this one?

    Thread Starter Donna McMaster

    (@mcdonna)

    SC, as I mentioned, there is an easy work-around which is to use textarea instead of text. A fix would be nice. I briefly reviewed the code but wasn’t able to see any obvious place to fix it.

    Yap, read your advice. But the client is already filling in his content and it would be extremely unhandy if we had to switch to textareas. Basically, this seems to fail upon storing in database. There’s a php-function to do so and this function fails to handle them quotes. But my coding isn’t good enough to actually spot the mistake. Thanks for your help, anyway.

    Thread Starter Donna McMaster

    (@mcdonna)

    yeah, the stripslashes and addslashes calls are there, and it wasn’t obvious to me where the textarea stuff was being processed differently

    as for your client, you can change the data entry type without changing the field name … either way the field is just text … the field will look different but it shouldn’t affect existing data or prevent him from continuing to fill in fields

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Verve Meta Boxes] Verve text box can't handle quote chars’ is closed to new replies.