forms: should the password fields be left blank when online validation fails?

This question with a similar name refers to registration, but in my case, I would like to address the shipment.

My use cases are:

  • A login form that consists of an email address.
  • A password change form where the user enters their new password twice to change their password.


  • The user has javascript enabled, so we can use AJAX and perform online forms validation. Then there is no security risk of sending the password to the users to reprocess the form.

The password field may fail for several reasons:

  1. In the login form, the password is blank or the password / email combination is incorrect.

  2. In the password change form, the password does not meet the password requirements (minimum length, etc.).

  3. In the password change form, the repeated password does not match the password.

  4. In the password change form, there is a blank password field.

Currently, I have the following behavior:

  • In the password change field, once the password is changed successfully, the password fields are blank since it makes no sense to keep them, and we prepare "clean" fields in case the user wants to change the password again .

Should I also leave the fields blank for the other failure modes? For example, when you use the password change fields and set a password such as "123456" and the form returns "You must have at least one letter in your password", you could go to the beginning of both compilations and add "a", which results in "a123456". This probably overrides the purpose of strong passwords, but it is much faster than typing "a123456".

Are there established guidelines for this?

Why blank space at the bottom of the block? Drupal 7 Bootstrap

I have this code in a block that I have placed in an area at the top of the page. I can't get rid of the blank space at the bottom. I know it is the block because without the block there is no space above the main content.
My code:

17 Global Sustainable Development Goals

Click on any goal to go to a new page and read more about it:

php – Server goes blank and does not generate pdf (fpdf)

locally if the pdf file is generated but the page goes blank and does not send any errors, I have apache 7.3 on the server and locally, what is the reason?

        $this->Cell(190,50,'AMIGOS DE PONCO A.C.',0,1,'C');
        $this->Cell(190,-33,'Formato de Registro.',0,0,'C');

    $pdf = new PDF();

        $pdf->Cell(190,10,'DATOS GENERALES',0,1,'C',0);


"New_Version" in Plugin Update is blank

When updating WP-MAILTO-LINKS, the new version is always blank. So, in my environment, the update is done every night, because WP-CLI thinks that my installed version is old … 🙁enter the description of the image here

The Google Docs API to create a blank document creates nothing. How do I create a blank Google Docs file?

I am trying to create a Google Docs file using the Python API.

I have followed all the instructions in your API Guides and reference page.

Including the creation of your quick start script

from __future__ import print_function
import pickle
import os.path
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request

# If modifying these scopes, delete the file token.pickle.
SCOPES = ('')

def main():
    SCOPES = ('')
    """Shows basic usage of the Drive v3 API.
    Prints the names and ids of the first 10 files the user has access to.
    creds = None
    # The file token.pickle stores the user's access and refresh tokens, and is
    # created automatically when the authorization flow completes for the first
    # time.
    if os.path.exists('token.pickle'):
        with open('token.pickle', 'rb') as token:
            creds = pickle.load(token)
    # If there are no (valid) credentials available, let the user log in.
    if not creds or not creds.valid:
        if creds and creds.expired and creds.refresh_token:
            flow = InstalledAppFlow.from_client_secrets_file(
                'credentials.json', SCOPES)
            creds = flow.run_local_server(port=0)
        # Save the credentials for the next run
        with open('token.pickle', 'wb') as token:
            pickle.dump(creds, token)

    service = build('drive', 'v3', credentials=creds)

    # Call the Drive v3 API
    results = service.files().list(
        pageSize=10, fields="nextPageToken, files(id, name)").execute()
    items = results.get('files', ())

    if not items:
        print('No files found.')
        for item in items:
            print(u'{0} ({1})'.format(item('name'), item('id')))

    title = 'My Document'
    body = {
        'title': title
    doc = service.files() 
    print('Created document with title: {0}'.format(

if __name__ == '__main__':

I expected a Google Docs file to be created, but instead the script was returned: Document created with title: None.

There are no errors that it returns, but something is clearly missing so you don't create the file.

I'm quite frustrated because I spent 9 hours trying to run the Google Drive script itself. The code is a direct copy of the Google Drive and Docs API documentation, except where I changed the scope of "SCOPES = (& # 39; https: // 39;) "a" SCOPES = (& # 39; https: //') "because with the first one it was blocking and the documentation of its API advises to use the second as the scope when trying to create files.

sharepoint online: I want to show a blank field in the calculated column if both reference fields are blank

I want to show a blank field in the calculated column if both reference fields are blank, but sharepoint shows the date as Dec 30, 1899

Formula used in the calculated column:

=IF(ISBLANK((Actual Release Date)),TEXT((Forecast Release Date),"dd-mmm-yyyy"),TEXT((Actual Release Date),"dd-mmm-yyyy"))

google – How to make a cell stand out in red if it is less than 6 digits and does NOT affect blank cells?

It worked, function

= LEN (P3: P) <6, to highlight all entries with less than 6 digits (6 is the minimum)

However, all blank cells are also highlighted in red. What function should I do to not affect blank cells? I can base it on column E if it is full (since it should always have information). But I do not know how to do it.

magento2.3 – The configuration page of the Mageplaza extension can not be seen. A blank page is displayed instead of the configuration page

I have installed the Mageplaza SMTP extension on my Magento site (v 2.3.1). The problem that I face is that I can not see its configuration page when I try to access it from Stores >> Configuration >> Mageplaza >> Smtp

The problem does not happen only with the SMTP extension. I have tried Google Recaptcha from Mageplaza and it is showing me the same problem.

Instead of displaying the configuration page in the backend, it displays a blank page.

The Intermec printer screen is blank

I have an Intermec PX4i and the screen is blank, it is on and green.

I managed to restart through the instructions found on your page (Restart, press I, arrow down, up …) but it still does not work.

Any ideas on what to do, what's wrong?