I have a custom Event Registration table that links Contacts with (custom) Events. Each row in the Event Registration table has two links, one leading to Contacts and one leading to Events: Contacts ↔︎ Event Registrations ↔︎ Events.
Now I am designing a screen that would let users create new Event Registrations. I want them to be able to just pick a Contact and an Event, that’s all. But the Event Registration entity has also got the Name field derived from Base and that Name field is required. Which means that when a user only enters a Contact and an Event, the backend complains of a missing required field. What can I do? (Apart from forcing users to enter a name manually, that’s something I don’t want to do.)
I tried setting up a pre-save formula that would set Name to the contact’s name, didn’t work. (Maybe the relationship isn’t established at that point yet?) Also tried, as a hack, to simply set the pre-save formula to something like “name = "foo"”, but that didn’t work either, backend still complains of a missing field. Why?
I have also tried to mark the Name field as not required for the Event Registration entity, but in that case the backend fails with a 500.
Now I am designing a screen that would let users create new Event Registrations. I want them to be able to just pick a Contact and an Event, that’s all. But the Event Registration entity has also got the Name field derived from Base and that Name field is required. Which means that when a user only enters a Contact and an Event, the backend complains of a missing required field. What can I do? (Apart from forcing users to enter a name manually, that’s something I don’t want to do.)
I tried setting up a pre-save formula that would set Name to the contact’s name, didn’t work. (Maybe the relationship isn’t established at that point yet?) Also tried, as a hack, to simply set the pre-save formula to something like “name = "foo"”, but that didn’t work either, backend still complains of a missing field. Why?
I have also tried to mark the Name field as not required for the Event Registration entity, but in that case the backend fails with a 500.

Comment