Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Front End Form Taxonomy Not Saving #5949
    akforsyt
    Member

    Interested in this as well. I’m not sure if my problem is part of the same bug, but I’m having problems with saving taxonomies on a front end form.

    I have set

    piklist('field', array(
        'type'        => 'hidden',
        'scope'       => 'taxonomy',
        'field'       => 'category',
        'value' => 'plan'
    ));
    

    When I first submit the form, the post saves with the category ‘Plan’. If I edit the form and save again, the category changes to ‘Array’.

    I noticed in source when I go to update the form, it shows two hidden fields for taxonomy.

    <input type="hidden" id="_taxonomy_category_0" name="_taxonomy[category]" value="189" class="_taxonomy_category piklist-field-element" data-piklist-field-addmore-clear="0">
    <input type="hidden" id="_taxonomy_category_1" name="_taxonomy[category]" value="1" class="_taxonomy_category piklist-field-element" data-piklist-field-addmore-clear="0">

    189 is the ID of my ‘Plan’ category.

    in reply to: add_more HTML issue #5911
    akforsyt
    Member

    Thanks Steve. It’s working perfectly now with all the same add-ons enabled and the same theme. I’m not sure what I changed, but you are correct that this is working in 0.9.9.7.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)