Limit of input fields for HTML Forms

Hello Experts,

Is there a limit to the number of input fields in a form?  I'm working in frontpage and the below code highlights almost the entire code block in blue indication some
sort of error.   If I remove the last eight window.document.forms[] lines the it appears to show properly in Frontpage.

<input  type="submit" value='&nbsp&nbsp&nbsp&nbsp   OK   &nbsp&nbsp&nbsp&nbsp'
            onclick="window.returnValue = 'RMSSearchCase:CTCN=' + window.document.forms[ 0 ].CTCN.value +
                  '|REF=' + window.document.forms[ 0 ].REF.value +
                   '|FROMD=' + window.document.forms[ 0 ].FROMD.value +
                   '|TOD=' + window.document.forms[ 0 ].TOD.value +
                   '|STAR=' + window.document.forms[ 0 ].STAR.value +
                   '|WRPT=' + window.document.forms[ 0 ].WRPT.checked +
                   '|CHRG=' + window.document.forms[ 0 ].CHRG.value +
                   '|UCR1=' + window.document.forms[ 0 ].UCR1.value +
                   '|UCR2=' + window.document.forms[ 0 ].UCR2.value +
                   '|UCR3=' + window.document.forms[ 0 ].UCR3.value +
                   '|UCR4=' + window.document.forms[ 0 ].UCR4.value +
                   '|UCRR1=' + window.document.forms[ 0 ].UCRR1.value +
                   '|UCRR2=' + window.document.forms[ 0 ].UCRR2.value +
                   '|UCRR3=' + window.document.forms[ 0 ].UCRR3.value +
                   '|UCRR4=' + window.document.forms[ 0 ].UCRR4.value +
                   '|UCRR5=' + window.document.forms[ 0 ].UCRR5.value +
                   '|UCRR6=' + window.document.forms[ 0 ].UCRR6.value +
                   '|ANO=' + window.document.forms[ 0 ].ANO.value +
                   '|APX=' + window.document.forms[ 0 ].APX.value +
                   '|AST=' + window.document.forms[ 0 ].AST.value +
                   '|ASX=' + window.document.forms[ 0 ].ASX.value +
                   '|AUN=' + window.document.forms[ 0 ].AUN.value +
                   '|ACT=' + window.document.forms[ 0 ].ACT.value +
                   '|AST=' + window.document.forms[ 0 ].AST.value +
                   '|AZP=' + window.document.forms[ 0 ].AZP.value; window.close();">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input  type="button" value=" CANCEL "
            onclick="window.returnValue = 'CANCEL'; window.close();" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" value="RESET FORM"></p>
MikeM670Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GawaiCommented:
maxlength is use to limit the input of text fields
<input name="myname" value="" maxlenght=20>
0
GawaiCommented:
maxlength is use to limit the input of text fields
<input name="myname" value="" maxlength=20>

sori for prev. post.
0
bubbledragonCommented:
You can modify the return string and assign its to returnValue.
No limit of returnValue.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MikeM670Author Commented:
I'll follow up on tomorow.
0
azcn2503Commented:
It's not showing an error in my text editor: Notepad2.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.