Skip to Content
author's profile photo Former Member
Former Member

Conditional Breaks

I need to create a condition break in my Adobe Form. The form displays material item data (description, UOM, country of origin, and so on)

I want to display 8 materials on each page. After the 8th material, a page break should take place.

I have tried numerous things but no success yet. The only thing that worked for page break is on SubForm ->After -> Go to Next Page. But this creates page break after every material. To do page break after 8th material, I need to do conditional break.

I tried TAB_MAIN.GS_I_GEN_ALL.DATA.GS_I_GEN.IFINO % 8 = 0 using FormCalc and JavaScript

Even a simple 1 = 2, Break After, To Top of Next Page hasnt worked for me. Any help is greatly appreciated. thank you.

Capture.JPG (39.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2013 at 10:00 AM

    Hi Megan,

    We can achieve the conditional break as below Please refer screen shots

    for conditional break click on edit to enter condition.

    click on + symbol to enter the condition.

    Regards

    khaleel


    Index.4.jpg (17.1 kB)
    Index.5.jpg (40.6 kB)
    Page2.6.jpg (51.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2013 at 05:48 PM

    I decided to change the body size to fit 8 lines. I couldn't get conditional break to work.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 29, 2013 at 07:54 AM

    Hi Megan,

    This is little touch to work out in Form builder.

    Instead i have a work around solution for you.

    In the print prgram where you collect the line item details, check the sy-tabix in the loop and when it reaches the 8 number then activate the field ABC in the structure.

    Each and every record in the structure has this field.

    Now in the Design view at layout.We write form calci/Js to check for the conditional page break.

    If the field ABC is active then have conditional break else continue as a flow.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.