• Resolved Michael

    (@mitfi)


    Dear Support Team,

    I like your plugin a lot and made use of it several times.

    And when it comes to referencing the additional input fields in the user profile, I realized that you establish an id and a name to each input field, which is great!

    However, as you allow spaces in the input field columns (which is ok and which is what we – at least I – need), the id for the related input field will also have spaces, which is not allowed for an id. Furthermore, references to such ids with spaces will not work.

    Therefore, I recommend that you replace spaces by underscores when it comes to the id for such input fields.

    Yes, one could reference the name instead but there are some reasons (at least for my use case) which make this unfeasible.

    I hope that you can agree with this very easy to implement proposal.

    Kind regards

    Michael

    • This topic was modified 1 year, 1 month ago by Michael.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @mitfi,

    Are you referring to the profile fields that this plugin creates?

    Thread Starter Michael

    (@mitfi)

    yes, of course, I do.

    Thread Starter Michael

    (@mitfi)

    
    <tr>
    <th><label for="Feld 1">Feld 1</label></th>
    <td><input type="text" name="Feld 1" id="Feld 1" value="Test" class="regular-text"></td>
    </tr>

    The above is an example copied from your plugin’s HTML generated on the user profile.

    Plugin Author Javier Carazo

    (@carazo)

    Thanks! I have just removed the spaces there and replaced with _.

    You will have it done in next update.

    Thanks for using this plugin and for this kind of suggestions!

    Thread Starter Michael

    (@mitfi)

    Thanks a lot for the fast action!

    Plugin Author Javier Carazo

    (@carazo)

    Not at all!

    If you are happy with our support and with our work you can always give us a review.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Element ID with Spaces’ is closed to new replies.