Jump to content

Shifting positions of Labels and Text Fields at Runtime If Values are Emoty or Null


bansi

Recommended Posts

Hi,

I have

 

2 Static Text (City and State) / 2 Text Field(CityValue and DefaultNameValue))

 

that are placed in parallel and my requirement is to move the Static Text State on the right to the Left (position where Static Text City was present) if Static Text City is Blank/Null

 

Does anyone have any idea how this can be achieved 

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try to use printWhenExpressions when designing your City and State static text elements and text fields. You could set the City elements to be printed only when the City field is not blank/null, and you could define two State static texts and two State text fields. One statict text - text field pair in the left position, to be printed only when the City field is blank/null, the other pair in the right position, to be printed when the City field is not blank/null.

Hope this helps,

sanda

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...