Why is my form name being removed? (Full Version)

All Forums >> [Web Development] >> ASP, PHP, and Database



Message


junhow -> Why is my form name being removed? (3/15/2002 12:42:23)

Anyone out there who might know why my form name is being removed, or maybe you've seen this? I can the form name via the Form Properties or via the html.
When I save it it dissapears.

Here's my code:
<form method="POST" action="new_DeptResults" onSubmit="Submit_Clicked()" name="FrontPage_Form1">





davebukouricz -> RE: Why is my form name being removed? (3/15/2002 22:15:08)

I have seen this happen if you have some script or code issue that is not cross browser compatible, but you have the page set up to be compatible with NS and IE... just a thought.

<%Do While still looking at the grass instead of the roots%>
Dave




davebukouricz -> RE: Why is my form name being removed? (3/15/2002 22:16:40)

quote:

I have seen this happen if you have some script or code issue that is not cross browser compatible, but you have the page set up to be compatible with NS and IE... just a thought.

<%Do While still looking down at the grass instead of up at the roots%>



<%Do While still looking down at the grass instead of up at the roots%>
Dave




junhow -> RE: Why is my form name being removed? (8/6/2002 16:45:06)

Anyone willing to take another look at this post? I' m still having problems with my form name dissapearing. This time it' s on an asp page that has 2 forms. One of the forms maintains the name " Frontpage_Form1" . The other form name is blank and will not keep a value.

I' m trying to do some scripting w/it, but unless I can access the object (e.g. document.FrontPage_Form2.QueryDate), I don' t know how to manipulate the input.

Any help greatly appreciated.




Spooky -> RE: Why is my form name being removed? (8/6/2002 22:59:51)

Perhaps if its within a webbot, its getting changed?
Failing that, I would use " Open with notepad" to manually change the value.

Select tools > page options > html source > preserve html




junhow -> RE: Why is my form name being removed? (8/7/2002 10:04:59)

Interesting. That' s the first time I' ve edited a page in Notepad. I didn' t realize all of the validator code was hiding right there.

Prior to changing the code, form 1 of 2 on my page looks like this:
<form method=" POST" name=" FrontPage_Form1" onsubmit=" return FrontPage_Form1_Validator(this)" action=" insert_send.asp" >

Form 2 of 2 like this:
<form method=" POST" action=" update_results.asp" >

I copied the <form>...</form> code from form1 and modified the name, validator and action values to my preference. I also added the code for FrontPage_Form2_Validator following the Form1_validator code.

But still.... same result.
Is the idea of having 2 forms on a page a new one? I assume this is a typical solution.





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125