Is it possible to choose which channel a safecracker form should post to if you leave the safecracker's channel to ="" and then having a radio selection of the channel_id's??
is this even possible?
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.Sign up to join this community
You can do this with jQuery. The channels will all need to use the same field group.
When you add the channel parameter
channel="" to your
exp:safecracker tag, the tag renders that in the template as a hidden field with that channel's id number as the value. For example:
<input type="hidden" name="channel_id" value="7" />
You can change this value as needed with JS. I created a jsFiddle with working code that will get you started.