good day,
I have a client that put a lot of info in a dropdown list, one selection could be a few sentences.
Once selected, is there a way to dynamically show the entire selection? I'm within a table cell here where I've got a dropdown list, can i dynamically expand it to show the entire content selected?
thx,
Patrick
Solved! Go to Solution.
Views
Replies
Total Likes
It's absolutely possible to archive this, but it's a bit complicated. Since dropdowns can't display values in multiple lines you'll need to build a construct of a dropdown field underneath an expandable text field. Then you'll have to programm events to control when which field is visible and to copy selected value from the dropdown over to the text field.
To get this work in a table cell put both fields on top of each other in a subform that has a positioned layout. Then drag the subform into the table cell.
With the drop down alone its difficult i guess, the " expand to fit " property is disabled for dropdown.
One another workaround is to take hidden textfield along with dropdown and show/hide these 2 as per the selection. I dont know if it will solve your purpose.
Hi,
I did think about something like this as a solution, but i was just wondering if there was another way
Views
Replies
Total Likes
@patrickpai to confirm - are you are referring to the requirement in XFA based form (created in Designer)?
@patrickpai , please confirm the information @sudhansh has asked to help you further.
Views
Replies
Total Likes
Hi,
yes, its an XFA LiveCycle form
Views
Replies
Total Likes
@patrickpai ,the dropdown selection items are sized to fit within the dimensions of the table row or column. However, if an option contains multiple sentences, it may not be fully visible even if the row height or column width is increased.
To ensure users can view the full selection, you can enable a tooltip for the dropdown field. The complete text will appear when the user hovers over the field.
It's absolutely possible to archive this, but it's a bit complicated. Since dropdowns can't display values in multiple lines you'll need to build a construct of a dropdown field underneath an expandable text field. Then you'll have to programm events to control when which field is visible and to copy selected value from the dropdown over to the text field.
To get this work in a table cell put both fields on top of each other in a subform that has a positioned layout. Then drag the subform into the table cell.
Thx very much.
I did that and for now, its a good fix and it works
Thx again,
Patrick
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies