Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Dynamic Right & Left Alignment for Module Text & Text Field in Adobe forms

$
0
0

Hi Vincent,

 

What I understood is:

If its english it should display like this.

                                                        .this like display should it Arabic its if

 

Where as the required text is all good just the halign ??

 

Well can you have a hidden field in your form which can be filled with EN / AR by your program looking at the user's language.

 

Now in the form on doc ready check the value of the hidden field and then put your Java script like below.

 

if(XXXX.rawValue = "EN")

      form1.Page.Subform.Text1.para.hAlign = "left";

Else

      form1.Page.Subform.Text1.para.hAlign = "right";

 

Here Text1 is the text which is bearing the floating field.

 

Give it a try and let me know for any queries.

 

Cheers,

Sai


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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