8.1.0 New Express Entity Form Block

Permalink 1 user found helpful
Huge thanks to Andrew and the C5 team for quickly providing the Express form block!! I took the leap and started a client project with 8.0.3 because of Express Entity and was sweating how I was going to pull off some front-end tasks. Saved me!

One question... I am tracking the status of employees, so I have a main object (EMPLOYEE) for their basic profile details. Then I have associated objects linked to the USER, like ABSENT, BOOKED, COMMENT, etc. On the front end of the site, I have an Express Entity list block to show all the employees. I have action buttons that lead to different pages to add a booking, absentee status, a comment, for that employee using the Express Entity form block. By default, when I go to one of these forms, it does not know which employee I was clicking from, but instead gives me the drop-down to select the employee. In the dashboard these are connected of course, and I don't have to select an employee.

I could pass the employee object ID over the querystring and use JQuery to set the select field properly, but I am wondering if there is a better way to do this.

Thanks! See attached screenshots.

2 Attachments

jmcgarvey
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi jmcgarvey,

Your project looks very interesting. When you complete it, would you consider writing up a technical case study? It would be excellent free marketing for you, showcase Express, and provide useful information to other concrete5 developers and users.
jmcgarvey replied on at Permalink Reply
jmcgarvey
I'd be happy to do that. I am making good progress.
jakubt replied on at Permalink Reply
Where did you find the New Express Entity Form Block, it is not showing in my block toolbar and I have even installed fresh 8.1.0 site to be sure I did not screw up an upgrade ...
bobhy replied on at Permalink Reply
I believe it is the block simply called "form" now.

When you insert it, you'll get a chance to specify whether it's a previously defined entity form or a new form you design there.

I haven't figured out how to *style* the field layout of the form yet, however. Can't do it as a custom template.
JohntheFish replied on at Permalink Reply
JohntheFish
The block named 'Form' now does the new 'express_form' block handle. That is necessary because the old form block is still built in with the block handle 'form' so that any upgrades to c5v8 would not break.