Weird Something Weird Happening in...
Here is a weird discovery in RSD beta V 1.5 build 1312
RSD beta V 1.5 build 1312 is assigning IDs to buttons that I never assigned ID's to automatically without my knowledge assistance.
I followed Eric's instructions and was successful at implementing 3 modal windows on the same page using Eric Rohloffs modal windows: http://progrower-rsd.coffeecup.com/boostrap-modal.html (Thanks Eric)
and for some strange reason one of the modals stopped working and I cant figure out why but discovered the above mentioned by clicking buttons in RSD to check my settings. all of my buttons had been assigned ID's
Has anyone else experienced this and how do I avoid this problem?
Thanks,
-WMFX
I attatched a photo.
RSD beta V 1.5 build 1312 is assigning IDs to buttons that I never assigned ID's to automatically without my knowledge assistance.
I followed Eric's instructions and was successful at implementing 3 modal windows on the same page using Eric Rohloffs modal windows: http://progrower-rsd.coffeecup.com/boostrap-modal.html (Thanks Eric)
and for some strange reason one of the modals stopped working and I cant figure out why but discovered the above mentioned by clicking buttons in RSD to check my settings. all of my buttons had been assigned ID's
Has anyone else experienced this and how do I avoid this problem?
Thanks,
-WMFX
I attatched a photo.
This is not a bug WMFX, it is a feature.
This happened because you duplicated a button with the ID name of modal-button several times. Hence the copy-1-copy-2 etc.
The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.

The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.
Adam East wrote:
This is not a bug WMFX, it is a feature.
This happened because you duplicated a button with the ID name of modal-button several times. Hence the copy-1-copy-2 etc.
The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.
This is not a bug WMFX, it is a feature.

The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.
Hi Adam, It assigned ID's to buttons that had no ID's. What feature is this and whats the benefit of such a feature??
Thanks Adam,
-WMFX
Wmfx Wmfx wrote:
Hi Adam, It assigned ID's to buttons that had no ID's. What feature is this and whats the benefit of such a feature??
Thanks Adam,
-WMFX
Adam East wrote:
This is not a bug WMFX, it is a feature.
This happened because you duplicated a button with the ID name of modal-button several times. Hence the copy-1-copy-2 etc.
The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.
This is not a bug WMFX, it is a feature.

The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid.
Hi Adam, It assigned ID's to buttons that had no ID's. What feature is this and whats the benefit of such a feature??
Thanks Adam,
-WMFX
The benefit is listed in my last reply. "The reason behind this is because you can only have one ID of the same name on a page, so if you duplicate an element with an ID, RSD automatically appends the ID to stop any errors. I like to think of it as a fail safe to ensure the code is valid."
Try this, open a blank RSD project and add a button. Give the button an ID and then duplicate the ID. You will see what I mean there. If this were not built in, you would not be able to duplicate an element with an ID applied as you would receive the "That ID is already Taken" message.
Hey Adam, What I'm trying to say is "by the software ID's were assigned to all of my buttons" meaning every button on my page 'all 7 buttons 'and the ID's looked like the one in the attachment.
Yes I did see the warning dialog. it should have only affected the one button not all of my buttons.
To see a warming dialog would /should have been good enough i would think. the way it is now its adding additional code, where's the benefit. I'm a small fish in this big pond and still learning, I'm trying but I dont see the benefit. but thats whats happening. one mistake is affecting all of my buttons.
Just thought yall should know.
Thanks again Adam,
-WMFX
Yes I did see the warning dialog. it should have only affected the one button not all of my buttons.
To see a warming dialog would /should have been good enough i would think. the way it is now its adding additional code, where's the benefit. I'm a small fish in this big pond and still learning, I'm trying but I dont see the benefit. but thats whats happening. one mistake is affecting all of my buttons.
Just thought yall should know.
Thanks again Adam,
-WMFX
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.