3

Right now I have this simple test form:

{exp:channel:form channel="data" category="6" status="Closed" return="contact/thanks" }
   <input name="title" type="text">

   <input type="submit" value="Submit">
{/exp:channel:form}

The data is submitted but it doesn't set the status or the category. Maybe I am misunderstanding the documentation on how this should work.

1 Answer 1

4

It appears that the behavior you're experiencing is an accepted bug, at least for the status. See the bug tracker.

There doesn't appear to be a fix posted, but you could potentially create the status and category fields as hidden inputs, if security isn't a big concern.

2
  • Bummer. Still not fixed as of 2.10.1. Commented Sep 19, 2015 at 21:14
  • And ... updating an old site, been bitten by categories not remaining set when not in hidden form field
    – GDmac
    Commented Mar 16, 2017 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.