So the goal is to size a text input control based on the text entered.
Here is what I have so far which logically makes sense but I obviously have errors cause it doesn't work.
Min(250, Max(60, 40 * RoundUp(CountRows((Len(DataCardValue6.Text)) / DataCardValue6.Width, 0))))
I've also tried this which doesn't work. My thought being that DataCardValue6 may not have an actual value when the expression is processed.
Min(250, Max(60, 40 * RoundUp(CountRows((Len(Parent.Default)) / DataCardValue6.Width, 0))))