Skip to Content

What is use of protect ...endprotect command in script and smartform

Hi Experts,

I have a confuse to about of protect..end protect command in script and smart forms.Generally we know this command is using in script  and smart forms for page protection means if we want show 10 line in first page but there no enough space then using this command we can see complete 10 lines in next page.But today i tried with smart form i created a smart form with two page and in first page main window size i took 2 line capable and in second page window size i took 10 line capable and in first page i wrote 10 line paragraph and used page protection check box but while i executed i saw its generated 5 page and each page divided by 2 line. Can anyone clear my this doubt.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 25, 2014 at 08:24 PM

    hi ram sahoo,

    since window size is 2 line capable only it is displaying each page 2 line only.

    if window size is 10 lines and there are two texts say text1 having 8 lines and text 2 having 8 lines.

    output will be for page1 as  8 lines and text2 will be 8 lines in page2 provided that text2 has page protection has check marked.

    hope you understood.

    Add comment
    10|10000 characters needed characters exceeded