I'm working on a page where I have a pick-list and based on the selection the user should be allowed to enter depends on the pick-list
so for an example:
Picklist ==> Miles, Days
if the user select Miles
then text-box should allows the user to enter the number value
if the user select Days
then it should be a date picker
should I have to use apex for the above scenario?