Select Drop Down Force Select for one selection

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mishanian
User
Posts: 123

Select Drop Down Force Select for one selection

Post by mishanian »

Hi,
if there is only one item on a drop-down select,
is there any way forcely select and show that item automatically?


arbei
User
Posts: 9347

Post by arbei »

If not search forms, by default it should auto select if there is only one option.

  1. What is your version?
  2. What is the settings of your Edit Tag?

mishanian
User
Posts: 123

Post by mishanian »

Hi,
1) PHPMaker 2023
2) Use LookUp Table: true
filter : company_id=1

it is showing the list (one item) correctly, but the issue is the user should click and select it


arbei
User
Posts: 9347

Post by arbei »

arbei wrote:

What is the settings of your Edit Tag?

You better post complete Edit Tag settings (not just Lookup Table = true).

Note: The single option will not be auto-selected if:

  1. The field has parent field (in Dynamic Selection Lists),
  2. The field is set as RADIO or CHECKBOX,
  3. The field is multiple-select.

Post Reply