cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic subscript in smartform

gaizka_gonzalez
Explorer
0 Kudos

Hi,

I have a requirement to build some text of the smartform with a dynamic subscript. In runtime I am given a template like '_S__SS' (for example) and I have to print those characters marked with 'S' as subscript.

Any idea on how to tell the smartform which characters are subscript in runtime?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gaizka,

In the above case, define a character format for 'S' in the smartstyle,

Theres an option of Effects in Standard Headings. You can select the subscript from there.

Use this character format in the smartform wherever you need.

Regards...

Sultana

gaizka_gonzalez
Explorer
0 Kudos

Hi Sultana,

The problem is I don't know when the 'S' is coming in the template. In the same text I should be able to write 'For <S>printing</S> purposes' or 'For printing <S>purposes</S>. I want to know if there is a way to put a variable character format in the text editor.

My idea was to build 'For <S>printing</S> purposes' outside the editor (MOVE 'For <S>printing</S> purposes' TO whatIWantToPrint) and tell the editor somehow to write the content of &whatIWantToPrint&

Thank you.

gaizka_gonzalez
Explorer
0 Kudos

Self solved. Finally I used text modules found in smartforms transaction and some alternatives to text output.