since ‎13-08-2018
‎10-12-2019
tharuny741
Level 1
Decreasing the Font Size depending on the input
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Hey guys ,I have scenario where Address field should display address , the starting font size should be 15 and depending on the text overflow it should shrink as low as size 10 In the below image Address-1(text-field) and Address-2(text-field) are bound with two fields , these both fields should shrink based on the text overflow . How to do this , should I use scripting or is there any setting for this in the layout ? Please help !

Views

439

Likes

0

Replies

0
Coloring a text in a string using javascript
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Hey guys ,Actually I have a text field which is binded with a long text , need to color a specific character from the string. Got an idea of using replace function replacing the text with a colored text using javascript , used the following script : (the rawValue contains text "this is only for testing")var e = "BLAH";this.font.fill.color.value = "0,56,101";//e.value.font.fill.color = "0,56,101";var str = this.rawValue;str = str.replace(/ only /g, e);this script works but it colors the entire st...

Views

1.2K

Like

1

Replies

1
Re: Blank Spaces leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Issue is solved , added formcalc script to those fields Event : Calculatedvar c = data.Main.Address.Name.rawValue$.rawValue = ltrim(c)But still could not find where the spaces came from

Views

1.9K

Likes

0

Replies

0
Re: Blank Spaces leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Tried that , also used text and floating field binded the name to it same result. Dont know where the problem is

Views

1.6K

Likes

0

Replies

0
Re: Blank Spaces leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
This is a text field only not floating field, sorry i can't share the form

Views

1.6K

Likes

0

Replies

0
Re: Blank Spaces leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
I don't know where's the problem , tried removing the leading spaces in SAP coding but still i'm getting spacesYou can see in the image first three fields have space leading them , there is no left indent for those fields.

Views

1.5K

Likes

0

Replies

0
Blank Spaces leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Hey guys ,I have 5 text fields vertically one over the other in the layout name,address, street , street2 , post code . I have binded the text fields with an internal table(SAP) that populates the data on to the text field. Among the five two fields street 2 and post code works fine without any space leading them but the other three fields are having a blank space leading them i.e. blank space and name/address/street gets printed. How to remove the blank spaces using javascript or formcalc and w...

Views

3.1K

Likes

0

Replies

7
Blank Space leading the text field
Avatar

tharuny741

tharuny741
- Adobe LiveCycle
Hey guys ,I have 5 text fields vertically one over the other in the layout name,address, street , street2 , post code . I have binded the text fields with an internal table(SAP) that populates the data on to the text field. Among the five two fields street 2 and post code works fine without any space leading them but the other three fields are having a blank space leading them i.e. blank space and name/address/street gets printed. How to remove the blank spaces using javascript or formcalc and w...

Views

1.0K

Like

1

Replies

1
Likes given to
Likes from