Hi @aj . I'm developing an attendance and work progress tracking app for remote employees
Im capturing data like if the employee is working on a particular day or on leave or off/holiday.
If the employee is on leave/off he just need to mark a single filed. But if he is working then employee needs to provide what activities performed on that day.
If the employee selects Leave/off then reaming activity related fields need not to fill. I can hide/show required fields based on picklist selection.
But in the button (say submit) based on the picklist selection (working or off/leave) is there any way i can write few fields if the employee select off/leave and all fields if employee select working to table?
An a temporary solution i achieved this by creating 2 buttons and display/hide button based on picklist option. But is there any way i can achieve this with a single button.