Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a container, with two calendar objects, enabling users to make a selection basis a from and to date.
On the variables used in these objects I have added a 'select in field' action, specifying the field name where the selection should be done and added a >= & <= basis the from and to date. This works.
The application has several date fields; arrival date, registration date and report date, to name a few. I have listed these in an input box, storing the field name in a variable. I would like the user to select any of the date fields in this input box, and then by using the from/to 'date picker' make a selection on the chosen date field. The question is, how can I use this variable, to enable a selection to be made in the chosen date field basis the input box.
Any help is greatly appreciated, thanks!
Edwin
I think you could use your input-variable as fieldname within the selection-trigger.
- Marcus
Hi Marcus,
Thank you for your answer.
I use the screens as shown in the attached image - can I enter the variable (dateTest is the var storing the date fields) as field name here or should I add a script to the calendar object?
Kind regards,
Edwin
Try it with: [$(dateTest)]
- Marcus
Dear Marcus,
Thank you very much, it's working now!
Kind regards,
Edwin