cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with alternative on 2nd page

0 Kudos

Hello all,

if got a problem with an alternative on the second page.

I created the alternative in the context trying to catch a different situation.

within the form I created 2 subforms one for true, one for false.

on page 1 everything works as designed.

on page 2 nothing works.

it looks like the 2nd page forgot what the alternative decided.

which means its printing on the 2nd page always true.... despite if its correct or not...

can somebody help me? what am i missing?

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Thomas,

I do not have Adobe LifeCycle designer with me to check this for you.

Can you please check your subform setting see if there any setting like allow content to flow to next page?

I might be wrong as the last time i open SFP was 3 years ago. Hope this help.

regards,

Xiang Li

0 Kudos

Hello Xiang Li,

thanks for your help.

I tried it and unfortunately the problem is still existing.

Regards.

Former Member
0 Kudos

Hi Thomas,

Were you able to resolve the issue? I am also facing the same issue with relation to Alternative Condition. Tried everything but couldn't find a solution till now.

Thanks and Regards,

Vadid Valiulla

Former Member
0 Kudos

Hi Thomas,

Hope you have mentioned the condition for Alternative in the context menu, based on which the true/false data is printed.

Try creating a single sub form & drag the alternative element from the data view to the body page.

Based on the Alternative condition, either one will be printed.

0 Kudos

Hey Vikrama,

thanks for your reply.

I did it as you described. unfortunately it's the same result.

True:

1st page: OK

2nd pafe: OK

False:

1st page: OK

2nd page: NOT OK

I tried to print the value of the fields and its like:

once false - the input is "lost".

which means:

1st page false was printed correct with content

2nd page true was printed with no content.

I want to print "headerdata" which means its data of a structure.

like VBAK but only if the alternative is true...

regards

varun_vadnala3
Active Participant
0 Kudos

Dear Thomas,

Is that your data is not getting displayed when the condition is NOT OK on second page, Even when the binding is proper?

0 Kudos

Hello Varun,

no "false" - Data is displayed on 2nd page.

i also tried it with colored data to get a better clue and its like this:

true = green

false = red

alternative true:

1st green

2nd green

alternative false:

1st red

2nd green

varun_vadnala3
Active Participant
0 Kudos

Have different context binding for Alternative true and Alternative false and check

0 Kudos

Same result.

Binded true      with name

           false     with werks

alternative false:

1st page: werks value 1000

2nd page: name value "empty" (should be James)

Former Member
0 Kudos

Hey Thomas,

Couldn't make it out based on the facts provided.

Would be better if you could guide us with few screenshots of context & body page.

0 Kudos

Context:

Form:

Binding Alternative:

$.ALTERNATIVE

Binding True:

$.TRUE

Binding Name_AG

$.NAME_AG

Binding False

$.FALSE

Binding Werks

$.WERKS

Former Member
0 Kudos

I guess the value of operand GV_KDE is getting cleared/initialized after page 1.

Try changing the alternative condition as GV_KDE = 'X' & check. If this returns NAME_AG in first page & WERKS in second page, we could conclude.

0 Kudos

Did so -

1st and 2nd page name_ag is printed. GV_KDE = 'X' on both pages.

I changed the value to ' ' -> 1st page werks, 2nd page name_ag...