'Strapi: Auto-populate the field values based on the values in other fields in a content type
Strapi Version: v4 Operating System: macOS Database: MySQL Node Version: 16.15 NPM Version: 5.8.8
I am trying to populate a field based on the value in other fields. Example: I have a content type with fields city = Mumbai and country = India, now I need a third field called market which should have the value Mumbai - India (i.e. value of city field + “-” + value of country field).
I'm relatively newer to strapi and still exploring the tool, Can someone please help me with this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
