Posted by Dhipakkumaran on January 8, 2013 at 5:55pm
Hi,
Am using webform module. Please help me out in below two issues.
1. Meal : Lunch - listbox
Dinner
when we made booking below 12:00p.m in the afternoon, Lunch should be preselect.
If we made booking after 3:00p.m in the evening, Dinner should preselect.
Above preselect should happen based on the server time. It should read the server time and preselect meal selection should happen.
2. Am using date picker. If i select any date in sunday column all the timing should show between 12.00 pm to 10.00pm
Please help me asap..thanks in advance..
Comments
---
Webform Conditional Module might help.
Clarification
Dear friend,
I used webform condition also. but its not helping me to find the way.
---
Have you read the module's documentation? That's always a good place to start!
Other options
Not sure about the module above, seem cool. If however, you'd like to do more work (because, everyone likes to do more work), you have two other options:
1. Implement 'Form States':
http://knackforge.com/blog/selvam/drupal-7-fapi-using-form-states-condit...
===
2. Write your own custom module that, unfortunately will be javascript / jQuery heavy:
http://drupal.org/node/1682234
You'll have to cover your cases as needed (radio buttons, select buttons, etc.)
Clarification
Dear friend,
Am new to drupal. I dont know how to write custom module. Is there anyother method to do.