Parent category in forms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 01:58 AM
Hello! I would like to connect category with subcategory from the category model table with reference qualifier. I wrote something like this but isn't working. Can someone help me please?
javascript: "u_subacategory=" + current.name + "category=" + current.parent_category;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 06:23 AM
Is your custom field really named 'u_subacategory'? You'll also need an AND symbol (^) prior to category, so try something more like this:
This is assuming that there are populated fields named name and parent_category on whatever form this is, and the value of name matches the value of the custom subcat field.