Field display only if completed

  • Posts: 35
  • Thank you received: 0
4 years 8 months ago #309292

-- url of the page with the problem -- : rtmetalli.it

hi, I would like to show the PEC field in the registration phase only if the company field is filled in, how can I do it?

Please Log in or Create an account to join the conversation.

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
4 years 8 months ago #309301

Hi,

I don't see any "PEC" field on your registration ?
monosnap.com/file/DZnsKcfsyTXct9Dkhv1pYX2BL4zTRy
Anyways, in the settings of that custom field, you have a "display limited to" that you can use to only display a field for one value of another field.
So what I would recommend is to create first a custom field "type" where the customer can choose "individual" or "company" and then use the "display limited to" setting of the "company" field and the "PEC" field to only display when that "type" field is set to "company" and activate the "required" setting of the "company" field.
That way, when "company" is selected, the company field will have to be filled and thus you'll be sure that the customer can only use the PEC field if the company field is also filled.

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 0
4 years 8 months ago #309336

You are great, thanks it was what I wanted to do, but I didn't get it. The pec field does not display it because I only did tests, then I failed and I disabled everything.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum