in Tickets & Form: How to create two fields with a many-to-many correspondence relationship?

Hi All,

how are u doing~ i have a problems with form.

when i creat a form for after sales, there are 2 propertities need to be added, one is model, another is issue type.

at one deal, customer will buy multy models, and more than one model might have problems, each model need to related to their own type.

so what i need is: model can be multy choose, issues type can be multi choose, the each model will associate to one issue type.

or the best way is that there is a add button, when we click [add], we can add a model and an issus type.

do HubSpot support on this? or do you know some other ways can meet our needs?

Hi @Jaylin,

This is typically something that is handled with custom objects: Create and edit custom objects

You could create a custom object for models. Each model would then have fields (like a contact or company record) that could be field.

At the moment, associated record fields cannot be made required yet, so if that’s a concern, you would have to work with potentially many fields on the ticket object:

  • Number of models (dropdown with options 1, 2, 3, etc)
  • Model 1
  • Issue type 1
  • Model 2
  • Issue type 2
  • Model 3
  • Issue type 3

etc

You could conditional logic and required fields so that a user is required to fill all fields when they select 2, for example: Set up conditional logic for enumeration properties

Have a look and let me know if you have any follow-up questions.

Hi Karsten Köhler,

thank you very much, it’s a good way for tickets, but couldn’t be applyed on Form. when our dealer fill out this properties in Form, it can realise the M:M relationship. how can we acheive it on Form?

@Jaylin of course dependency can be set up in forms :slightly_smiling_face: Use dependent form fields (legacy)

Hi it really have some problems, i set a dependent property for each dropdown values, when i choose one item, it’s normal, but when i choss 2 items, it should be showm 2 dependent properties, but it shows 0.

@Jaylin can you please share a screenshot of the form logic you have set up?

please see the pictures below, thanks.

@Jaylin I’m not seeing any screenshots, unfortunately.

sorry attach the picture

@Jaylin HubSpot interprets “is equal to” as just one selection. Make sure to change it to “contains”.

it works! thank u very muchhhhhhhh!!!