Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want two dates appears in the form when users select an option from select list using web-form. E.g in the list box option the user selects last Monday of the month and after that in the first date field will automatically show last Monday (date) of the current month and in next field last Monday (date) of next month.
But the main thing is that i want less use of java-script as it takes much time to load...because some of the browsers and now some of mobile browsers not have support to java-script technology.
So if someone have idea about that i would be very pleased for that..
Thank you very much..
Comments
Comment #1
swara05 CreditAttribution: swara05 commentedI read about civicrm module with webform integration but i dont think so its enough to fulfill my points.
Comment #1.0
swara05 CreditAttribution: swara05 commentedWant the date appears in the two date fields that already present in form only i want it occurs after selection of option from list box.That should have functionality to show dates.
Comment #2
swara05 CreditAttribution: swara05 commentedComment #2.0
swara05 CreditAttribution: swara05 commentedRemove strong tag from word date
Comment #2.1
swara05 CreditAttribution: swara05 commentedClear the point mentioned for mobile projct
Comment #2.2
swara05 CreditAttribution: swara05 commentedCut point mobile project
Comment #3
quicksketchUnfortunately the Webform module cannot do what you're describing without custom coding. Most likely, you'll need JavaScript to accomplish what you've described, but you've stated you want to do this without JavaScript. In Webform 4.x, you might find the new conditional system helpful for hiding and showing components, but it's not going to be able to do the logic you've described.
As mentioned in the submission guidelines, we don't provide help with custom coding in the Webform issue queue:
Please refer to other resources such as IRC or Drupal StackExchange to ask your questions.