Skip to Content Skip to Menu

CB Code Field

  • Abmago
  • Abmago
  • OFFLINE
  • Posts: 47
  • Thanks: 6
  • Karma: 0
4 years 8 months ago #317619 by Abmago
CB Code Field was created by Abmago
Hi, I have a question about the add-on 'CB Code Field'. It is not clear to me how I can design a good working Code Drop Down (Single Select). I am no expert in PHP code, but with some good examples I can make simple things. I guess my issue is not that difficult, but I did not succeed so far.

In have made a field called CB_kingetal where the user fills in a number between 0 and 261. The number can be interpreted in different ways. In one interpretation the values 1, 21 or 41, 61, have the same outcome namely 'IMIX'.

I want an automatic choice in the Single Select Dropdown menu. This should not be difficult, but I miss the clue. The first value of the dropdown should become true if CB_field is 1 or 21, etc. What kind of code do I need to make this simple automation work?

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

Moderators: beatnantkrileon
Powered by Kunena Forum