Embed a node add form on a parent node I have a product display node and I'm trying to add a rental form to the node so that anyone can submit a rental form and have that reference the node. I was thinking of making the rental form a new Content Type so that the author information is automatically stored. I was also looking at Entityforms and specifically Inline EntityForms since that seems to incorporate the entityreference field.

Approach 1

What's interesting about the Inline Entityform is that you don't need an Entityform type to use it. You can select the Target type as 'node' and have that create a node form within the parent node's edit page.

The problem I'm facing with this approach is that you can't render the form on the front-end. I've tried setting the Display settings to 'Rendered entity' and I'm still not seeing anything on the front-end of the parent node, logged in as admin.

Is the Inline Entityform module only for embedding node add forms to the back-end?

Approach 2

The second approach was using Inline Entityform to target a node of type 'Rental' with the same settings but I was still unable to produce a node add form on the parent node front-end.

I do not want to use Panels but it's looking like I might have to? Any thoughts are appreciated.
Inline EntityForm is for placing an entity's form within an Edit page of an existing  Node, eg (/node/edit/123). It's not for showing a form on a Nodes' page with a view_mode set to like full.

You want to use either:


webform entity
entityform


And then either use Display Suite or alter the Node Template for your theme to include form for reservations when people view your Node.

Alternatively you can just use 2 content types: 1 for product and 1 for reservations. and use the Prepopulate module to build a link to create a Reservation -- which you can place on the product node. Clicking this link would send the user to create a reservation, you could always send them back to the product node using $form['#redirect'] on your reservation type.

And if you were crazy you could try to make a url using Prepopulate that loads an Ajax popup node reservation form on the product page.

Hopefully one of these ideas sets you on your path.