Hi, I have a text element that shows the currently displayed trim of a car model ex “Luxury”. I also have a dropdown that shows itself when the user clicks on the text element so that he can change the trim specs they want to look at. When the dropdown element’s value is changed the greater group named “Group Specs” (which is the group responsible for all text elements to know what trim’s info to display) value is changed from 1 to 2 or 3. So if the user clicks on the dropdown and picks “noble” instead of the currently selected “luxury” then Group Spec’s value is changed from 1 to 2 and so on.
For some reason when the value is changed, the text element that displays the dropdown’s selected trim (value), whenever the value is not the originally set value the text shifts right and there appears to be invisible “spaces” as if the value was “ noble”. I don’t know what could be causing this as te data base values the dropdown looks for have no spaces like the ones that come forward. There is also no conditional formatting or anything like that. Below are some screenshots of the scenario I have described above. Thank in advanve.
It’s a bit hard to pinpoint the exact root cause since the logic behind how the text changes wasn’t fully shared. But here are a few things you can check:
If the text is changed using workflow (hide and show elements), make sure the margin and padding have the same format for each of the text. also do not forget to ticking the collapse when hidden button.
But I personally prefer to changed the text using conditional formatting.
Hi hisham, thank you for your response. Turns out the issue wasn’t in this page. What’s rather concerning is that the issue seems to be that there were several invisible spaces (as shown in the last screenshot) which were simply not visible in the database or the dropdown.
I checked the input on the admin page which creates those values by splitting the singular input (after each comma) into all the possible versions (choices). This meant the the space between the versions that were inputted (ex: “luxury,( )noble,( )flagship”) meant that they were included.
I just can’t figure out why those spaces did not show up in the databse or the dropdown but did on the page.
Any how I have fixed the issue and am no longer having any troubles with this. Still, thank you for responding!