• Selah

    (@tubescreamer)


    Hi, as the title states – Is it possible to change the placeholder text in the registration form fields via code or otherwise? I am using the Loco Translate plugin to change different strings of text in the plugin and I was able to change the placeholder for the “Confirm Password” field only, but not the others. I would like to be able to modify these somehow, so that the placeholder text isn’t just the same as the field label.

    Thanks!

    • This topic was modified 2 years, 6 months ago by Selah.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @tubescreamer,

    All the placeholder texts are translation ready and appear in Loco strings search. You can navigate to the following file to check

    wp-content/plugins/tutor/templates/dashboard/registration.php

    Thread Starter Selah

    (@tubescreamer)

    Hi. They do show up, technically. Like for instance if I search “Password”, I can change it to “Create Password” for example. But this changes the label AND the placeholder. I only want to change the placeholder. I saw two separate entries for the “Password Confirmation” field, one was for the field label and the other for the placeholder, but the other fields weren’t like that, when I searched them in Loco Translate.

    Hello @tubescreamer,

    Form field labels are different than placeholder texts. Both are translation ready which means you will see the text-domain after the strings. Look for placeholder attribute in the code. They come after the form field labels.

    Thread Starter Selah

    (@tubescreamer)

    Hi, I completely understand what you are saying, but I am saying that I am not seeing separate entries for placeholder and the field label in Loco Translate, when I search the relevant strings, such as “First Name”, “Last Name”, “Username”, “Email”, “Password”.

    I only see one entry for each of the above, and when I translate the strings for each, it changes both the field label AND the placeholder text.

    The only one where I saw two entries and was able to translate the string for BOTH the field label AND the placeholder text, was “Password Confirmation”.

    If someone can assist me with this further, please let me know.

    Hello @tubescreamer !

    Did you translate plugin ? you can synchronize and search again.
    Also, check from where the string is coming, need to translate that. It can come from your theme.

    Thanks!

    Thread Starter Selah

    (@tubescreamer)

    Yes, I am translating the plugin. The string is not coming from my theme. I have synchronized and tried again and it doesn’t work. Can you try on your end maybe? Try searching for First Name, Last Name, Password etc, you’ll see the placeholders for those don’t show. The results that do show for those are the field labels.

    Then you can search “Password Confirmation”. You’ll see two results for those. One is the field label, and one is the placeholder. The Password Confirmation field is the only field I was able to translate the placeholder for..

    Hello @tubescreamer!

    You can use the find and replace plugin to translate this.
    Then, still have the issue, you can contact our support through this address support at themeum dot com.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is it possible to change placeholder text of registration form fields?’ is closed to new replies.