Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
I have 2 dropdown controls on the same form.

{EDIT - I had the THEN portion reversed}
Approver1 and d Approver2. Both are dynamically populated with SQL.
If Approver1 has 0 records, then hide Approver1 and show Approver2.
If Approver 1 has > 0 records, then show Approver1 and hide Approver2.

Any ideas?
Last edited by richvle on Fri Mar 20, 2020 2:08 pm, edited 1 time in total.
Hi Programmerboy,
The OnChange is for when I made changes in selecting the options in Approver1. However, I'm not making changes in select the option. I'm referring to if the SQL query for it returns zero results.
programerboy wrote: Fri Mar 20, 2020 1:41 pm Hi,
You can check this link and use onchange on your dropdowns:
Processmaker Dynaform keeps Loading

Hi, Please attach here your process and tell me wh[…]

Case Notes

Can we add a user access to case notes of every wo[…]

Could be that the Processmaker Queue has not been […]

Hơn 20 năm kinh nghiệm cùng đội ngũ nh&acir[…]