I am having pain trying to use the function rbf_showOrHideSection(sectionId, showSection) My View page, my Edit page and my New record page, all use different IDs for the same corresponding section. Consequently, I have to maintain 3 different versions of the same JavaScript code but different IDs. Worse, when I synchronize the 3 pages after a design change, some of the section ID get changed. I then have to find the new IDs and change my code again. How can I get the section id dynamically (base on section name or any other method)? Can the change of section IDs be prevented when we synchronize page design? Thanks.
Good point, I'll try to address this.
@Pavel -- I'm just now (Jan 2013) working to hide/show a section and expect to run into the same challenges Claude did in the past. Did you figure out a solution to this problem?
@Pavel -- I'm just now (Jan 2013) working to hide/show a section and expect to run into the same challenges Claude did in the past. Did you figure out a solution?
Please use rbf_getSectionIdByTitle() API to determine section's ID.
Ah! Perfect! Thanks!
Marking as Solved