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.
Hey! So I'm basically just trying to change the login form and register form labels to instead say Email address instead of Username or email address and Full Name instead of Username. Any thoughts on what I could be doing wrong? I don't see any changes at all, but I know it's being called because the form id's print.
<?php
/**
* @file
* Task 1 - only ask for email address and change username label to Full Name
*/
I'm new to the Drupal community with almost no experience from it, recently I got one project done in Drupal 7.x and I'm having some issues with geofiled distance.
The app is listing some stores and it should show you the distance between you and that shop, field is called field_geofield_distance but it always returns 0. We have valid Google geolocation API key, location is allowed and the site is running under PHP 5.6(doesn't work at all on higher versions).
I would appreciate if someone can help me were to look an what to do with this.
Hi,
I have a form submitted using AJAX, the form contains two fields. name and favorite movie.
I want the user to be able to submit the form a few times but I don't want him to write his name each time.
I want the name value he added to remain in the name input, and the movie field to be cleared with each submission
How can I do this using the webform module?
I know I can do it using local storage or cookies but I want to know if the webform module has a native way to do so.
Hi,
I'm creating a site on Drupal for the first time
I'm using Layout Builder to display news. I add a title block, but it displays as span:
<div class = "content">
<span class = "field field - name-title field - type-string field - label-visually_hidden"> Title 1 </span>
</ div>