Dynamic Text improvement

ssneg
Community Member Posts: 1,456 ♪ Opening Act ♪
The requirement that EVERY TEXT BOX in the whole title must have its own unique name is RIDICULOUS! Every text box already has a unique id. I'm talking about its HTML NAME.
There are perfectly good reasons to call similar elements similar names on different pages, e.g.: "Main text", or "Task prompt", or "Box 1", "Box 2" and so on. Why should anyone rename their objects to e.g. "Page main text - page 1", "Page main text - page 2", "Page main text - page 3" and so on, cluttering their title and adding extra work? Why can't Lectora identify textboxes by their HTML ids?
Furthermore, why can't the title checker say WHERE IN THE TITLE it found similar names? It just says something along the lines of "There are some non-unique dynamic text boxes in the title somewhere, so unless you find them now, your client will, and I'm not going to help you".
All it takes is to change this:
to this:
Hope to see this change in some future release
There are perfectly good reasons to call similar elements similar names on different pages, e.g.: "Main text", or "Task prompt", or "Box 1", "Box 2" and so on. Why should anyone rename their objects to e.g. "Page main text - page 1", "Page main text - page 2", "Page main text - page 3" and so on, cluttering their title and adding extra work? Why can't Lectora identify textboxes by their HTML ids?
Furthermore, why can't the title checker say WHERE IN THE TITLE it found similar names? It just says something along the lines of "There are some non-unique dynamic text boxes in the title somewhere, so unless you find them now, your client will, and I'm not going to help you".
All it takes is to change this:
<textblock name="main header">
to this:
<textblock name="text24061">
Hope to see this change in some future release

Comments
-
-
@johnb, I actually found a good reason for the current system to be in place. Let's say I have 7 dyntitle.xml files in 7 languages. They contain translations of a single text box I have, called "many lang textbox".
Under my proposed system, if I open my title and delete the "many lang textbox" for whatever reason, my dyntitle.xml files become useless, all 7 of those. Because I cannot re-create "many lang textbox" with THE SAME HTML NAME. I don't have control over the random html names. But I could name my "many lang textbox" the way I want and my dyntitle.xml would work properly. When creating a lot of copied projects, clones, versions etc. this situation is quite probably.
So I'd like to update my suggestion (move dyntitle.xml from object visible names to object hidden html names) with this:
"Please also allow editing object's hidden HTML names manually, with a uniqueness check, of course, to avoid duplicates". -
Hello Sergey,
I am very much new to Lectora, recently i have brought my license also. I will be needing your support in calling the dyntitle.xml's dynamically of different languages.
I have created a title and enable the option Dynamic text box for all the text boxes.
Later on i have created copies of dyntitle.xml and translated the english text to different languages.
Here i got stuck,i am not able to call the different dyntitle.xml's based on my language selection done through the dropdown.
Can you please help me completing this task.
Your help is really appreciated!
Regards,
CH Ramsantosh Kumar
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products