Forum Discussion
Jenny_ED
12 months agoCommunity Member
Limiting Text Entry to One Character Issue
Hello everybody! As I work on a crossword puzzle, I would like to limit the text entry fields to only contain one character. Previously, in 2023, I have succeeded doing it using the JavaScrip...
- 12 months ago
Try
const Inputs = () => { const inputs = document.querySelectorAll('.acc-textinput'); inputs.forEach((input) => { input.setAttribute('maxlength', '1'); input.setAttribute('autocomplete', 'off'); }); } setTimeout(Inputs, 100);
LesB
11 months agoCommunity Member
Please let me know how I can return the favor. Thanks!
Nedim
11 months agoCommunity Member
Find the attached .story file. Let me know if you need further assistance. Feel free to contact me at my private email address nedim.ramic@gmail.com so we don't clutter this topic. I appreciate your offer to return the favor. I'm here simply to assist and contribute whenever I can. It would be great if you could recommend me or my work to others, as I’m often available for additional projects.
Related Content
- 9 months ago