Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: Dynamically auto-center text fields?

$
0
0

How about using a single test field that's centered and prompting the user (app.response or custom dialog) for the values that would normally go in the Name and Title field, and include the pipe character in the text field between the two values? You'd have to use a field formatted for rich text if you want to use different font styles and colors for the two values and set the field value using two spans. All of this would involve JavaScript.

 

You can implement #2 with a single page, using a button to display a different background depending on which type is selected, and having three sets of fields. JavaScript can be used to show/hide the relevant set and hide the others. This is somewhat complicated to spell out exactly how to do this in the forum, but it's possible. Whether it's worth the development time is another question.


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>