Hi to all. I need a little help configuring a text field.

We have a read only text file with the VALUE FIELD set like:

VO #form.new_rich_st.latolungo#*#form.new_rich_st.latocorto#

Now.. The question is...

It's possible to "write" the * (marked in red above) only if the #form.new_rich_st.latolungo# is compiled in a previous form??

In other words...

IF

#form.new_rich_st.latolungo# = 100 and #form.new_rich_st.latocorto# = 50
THEN
the text field value == VO 100*50
ELSEIF
#form.new_rich_st.latolungo# = 0 or null and #form.new_rich_st.latocorto# = 50
THEN
the text field value == VO 50
END IF

Thank's in advance for all suggestion and sorry for my english.

3 Comments

  1. Nobody can help me please??

    1. You should be able to solve this by using a 'Bean Shell Form Binder' in your Form. Within the Bean Shell script, you can add the IF-THEN-ELSE logic you want to use. See this thread for a little more detail.

      1. Thank's a lot Peter.. And sorry for the delay in my reply

        I solved the problem....

        Have a nice day