kc.crow
Board Regular
- Joined
- Jul 7, 2005
- Messages
- 75
Hello,
Is there a way to have textbox placement be dynamic depending on the visibility of another textbox? For example, I'm creating a form where people enter time. There's a field for each day of the month but I don't want to display weekend days. I also don't want a gap on the form for the days that are being hidden. I'd like to have the visible day fields all next to each other.
So basically I want to
* make a field invisible if the day of the week that it corresponds to is a Sat or Sun
* move the visible Mon-Fri fields next to each other
* Have this be dynamic as of course the calendar changes each month.
Or is there a better approach in general?
Any ideas out there would be appreciated.
Thanks!
Is there a way to have textbox placement be dynamic depending on the visibility of another textbox? For example, I'm creating a form where people enter time. There's a field for each day of the month but I don't want to display weekend days. I also don't want a gap on the form for the days that are being hidden. I'd like to have the visible day fields all next to each other.
So basically I want to
* make a field invisible if the day of the week that it corresponds to is a Sat or Sun
* move the visible Mon-Fri fields next to each other
* Have this be dynamic as of course the calendar changes each month.
Or is there a better approach in general?
Any ideas out there would be appreciated.
Thanks!