Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am using drupal 8. I have created one form using Form API and I also have embedded this to my custom module page. The form contains date input to input date. The default format for this date element is dd/mm/yyyy but I want only mm/yyyy. So could I code my alter method in my module file to get the intended result.
Three files which have overrides for setThirdPartySetting are ConfigEntityBase, PluginSettingsBase, and ViewUI. While there are lots of blogs and examples dealing with standard config entities, is anyone aware of ThirdPartySettingsInterface examples using ViewUI and/or Plugins?
I am trying to add AJAX functionality to a webform in Drupal 8.4 that will copy address information from one section to another.
The first set of fields for business information is as follows:
- Address 1 (textfield)
- Address 2 (textfield)
- City (textfield)
- State (textfield)
- Country (select)
The second set of fields for shipping information is:
- Information same as business (checkbox)
- Address 1 (textfield)
- Address 2 (textfield)
- City (textfield)
- State (textfield)
- Country (select)