Page 1 of 1

Label Association altered

Posted: Mon Apr 07, 2025 3:28 pm
by bjlolmaugh
I just finished up with a very large form with over 150 questions/fields.
Each label and form element were named accordingly, then each label was associated with the correct form element.
Form worked perfectly.

THEN... I moved the form to it's permanent location on the website.
Each label and form element kept their assigned names.
BUT ... each LABEL lost it's association.
I am having to go through each and every label and re-associate it with it's correct form element.
If this was a 6 field form ... no problem. But this is a 150+ field and it is going to take me a very long time to go back and fix all of the associations.

Is this a glitch in the software?

Re: Label Association altered

Posted: Mon Apr 07, 2025 5:07 pm
by Pablo
What do you mean by this?
I moved the form to it's permanent location on the website.
If you mean moving the form to another page then the relations may no longer be valid. Because copy/paste creates new instances of the objects.

Re: Label Association altered

Posted: Mon Apr 07, 2025 5:11 pm
by bjlolmaugh
Pablo wrote: Mon Apr 07, 2025 5:07 pm What do you mean by this?
I moved the form to it's permanent location on the website.
If you mean moving the form to another page then the relations may no longer be valid. Because copy/paste creates new instances of the objects.
Moved the form to a different page... same website project.

Re: Label Association altered

Posted: Mon Apr 07, 2025 7:35 pm
by Pablo
If the form is that large, then it's it easier to move the rest of the content of page and leave the form as it is?

Re: Label Association altered

Posted: Mon Apr 07, 2025 7:39 pm
by bjlolmaugh
Pablo wrote: Mon Apr 07, 2025 7:35 pm If the form is that large, then it's it easier to move the rest of the content of page and leave the form as it is?
Yes, that can be done.

Interestingly enough ... I moved another form to a new page, just like the first one, and everything stayed intact as it was.

Re: Label Association altered

Posted: Tue Apr 08, 2025 5:40 am
by Pablo
This may be because of duplicate IDs. For example, if you copy/paste to a new page that has already elements with the same ID then the pasted object will get a new ID to prevent conflicts.

Re: Label Association altered

Posted: Tue Apr 08, 2025 1:55 pm
by bjlolmaugh
Pablo wrote: Tue Apr 08, 2025 5:40 am This may be because of duplicate IDs. For example, if you copy/paste to a new page that has already elements with the same ID then the pasted object will get a new ID to prevent conflicts.
No, that's not it ... at least on my project.
There wasn't any other form on the new page, so all the form elements that were copied over are uniquely different than anything else on the new page.