Code To Change Section Name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:18 AM
Hello vinitha,
Here we can discuss.
I have three sections R1,R2 and R3.
When my form loads there is a field which fetches New Section name from another table (Config table)
Only i have to do is Whenever form loads R1,R2 and R3 should be changed by that New Section Names which will come from Config Page .
Please help from a beginning.
Regards,
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 04:10 AM
I have Checked and Alert is not working . I have found that Section Name should not have Space otherwise it is Not working . I just checked in sample table . Section without space (Section Name A) changed its name while Section Name having Space (B 1) not worked so it seems its all about space . In HTML code Section Name is showing as B 1. I am checking for the solution. Thanks for your all effort.
Regards Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 04:15 AM
Yes, space can be there but consider below,
Regarding the name I found the following
1. Everything needs to be lowercase
2. The first space needs to be an underscore
3. All subsequent spaces need to be removed.
4. special characters for example / need to be removed.
For example: THIS good/bad Name --> this_goodbadname
Thanks,
Vinitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 05:32 AM
Thanks but i checked it is not working when we write if(caption.innerHTML == "round_1") instead of if(caption.innerHTML == "Round 1") .
So i think above naming convention is not enough for this.
It is also not going inside
$$('.tab_caption_text').each(function(caption) {
this statement . I am looking for it . If it not works then i have to go for another approach to implement this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 05:34 AM
Did you try to get the name from DOM explorer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 06:12 AM