cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS no style change

Former Member
0 Kudos

Hi experts!

I have a weird senario here.

The customer wants to display a quantity field in different colors based on some conditions.

I've written the code, filled somke flags (e.g. flag_yellow, flag_red and so on). In my form i have some text elements with output condition checking the flags. Based on the flags i output the text elements in diffenrent colors.

Even though the yellow flag works just fine, the red one does not. Insted, the red text element is displayed right next to the previous output field and without any color.

I have checked everything and still cannot find a way out of this. I have even tried displaying the field in bold and still nothing..

What am i missing here??

Please advise!!

Thank you in advance!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

are u using any particular 'Z' smartstyle?

If yes create paragraph formats according to conditions with relevant font colours.

Activate that smart style.

While displaying amount (text) in smartform use particular paragraph format.

If no, then create one Z smartstyle.

create paragraph formats according to conditions with relevant font colours.

Activate that smart style.

While displaying amount (text) in smartform use particular paragraph format.

dont forget to give style name in output options of each text element.

Hope this will help to solve the problem.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Check the condition for the red flag by putting the break-point in the smart form..if it is working fine with the yellow then it should work with the red flag too...

Regards,

Sravanthi