Frontpage Form Validation Error
Office 2010 / 2007 / 2003 Microsoft Frontpage Frontpage Programming Form Validation Ask a Question Sign up for Free 163 Experts currently online. Ask Questions for Free! Form Validation - Frontpage Programming I have a form which I validate client side using javascript. When submitted with the POST method it calls an asp file which updates the database and sends a confirmation e-mail. However before any updates or mails are sent I want to do server side validation. In the event of ... Results 1 to 14 of 14 LinkBack LinkBack URL About LinkBacks Bookmark & Share Add Thread to del.icio.usTweet this thread Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 06-21, 03:11 AM #1 Form Validation I have a form which I validate client side using javascript. When submitted with the POST method it calls an asp file which updates the database and sends a confirmation e-mail. However before any updates or mails are sent I want to do server side validation. In the event of an input error, I want to Return the user to the Same input form with a message in the form pointing out the offending input. How can I do this. At the moment the form clears once the asp page is called. Boxter Reply With Quote 06-21, 04:29 AM #2 Re: Form Validation In the receiving asp page, write your validation script, then if you detect errors, set some session variables (would hidden fields in the form be available?), and show a form like this
In any case, however you could incorporate the onclick="history.back()" should work, taking you back without clearing the input form. Then you can process the session variables to highlight the errors. If you click the back button on the browser, it should also take you back without clearing the input form. Not the most elegant, but it might work. MikeR Boxter wrote: MikeR Reply With Quote 06-21, 11:23 AM #3 Re: Form Validation Hi MikeR, I used the history function from my asp page this way: response.write("von GoogleAnmeldenAusgeblendete FelderBooksbooks.google.de - In today's highly connected world, almost everybody has a web site, from local sewing circles to the world's largest corporations. If you're ready for one of your own, Microsoft's FrontPage 2003 has everything you need to create Web pages. It's true. Your geek friends may howl in contempt if you use...https://books.google.de/books/about/FrontPage_2003_The_Missing_Manual.html?hl=de&id=VtC7tdu71EwC&utm_source=gb-gplus-shareFrontPage 2003: The Missing ManualMeine BücherHilfeErweiterte BuchsucheE-Book kaufen - 15,83 €Nach Druckexemplar suchenO'ReillyAmazon.deBuch.deBuchkatalog.deLibri.deWeltbild.deIn Bücherei suchenAlle http://www.textndata.com/forums/form-validation-595534.html Händler»FrontPage 2003: The Missing ManualJessica Mantaro"O'Reilly Media, Inc.", 18.08.2005 - 448 Seiten 2 Rezensionenhttps://books.google.de/books/about/FrontPage_2003_The_Missing_Manual.html?hl=de&id=VtC7tdu71EwCIn today's highly connected world, almost everybody has a web site, from local sewing circles to the world's largest corporations. If you're ready for one of your own, Microsoft's FrontPage 2003 has everything https://books.google.com/books?id=VtC7tdu71EwC&pg=PA301&lpg=PA301&dq=frontpage+form+validation+error&source=bl&ots=3eUs9AXUeL&sig=S-k7Z_icxEG1GDLsSeh9ulZDmzA&hl=en&sa=X&ved=0ahUKEwisy472idjPAhVHdh4KHcFlDNoQ6AEINDAD you need to create Web pages. It's true. Your geek friends may howl in contempt if you use FrontPage, but that's because the program has a reputation for spitting out cookie-cutter Web pages with messy, overloaded HTML code that takes forever to load. Not any more.After listening to complaints, Microsoft has given FrontPage 2003 some pretty advanced features, including an HTML cleanup tool that helps alleviate bloated code, and new support for Macromedia Flash and XML. Now, savvy Web veterans can control as much of the process as they want, and even collaborate on a site with developers who use Dreamweaver, GoLive or other Web authoring tools. Yet, unlike those other tools, FrontPage 2003 still has automated features for beginners who don't know where to start. There's still one flaw, though. Microsoft's idea of a user manua
here for a quick overview of the site Help Center Detailed answers to any questions you might have What's Meta? How Meta is different from http://meta.stackexchange.com/questions/82266/html-validation-error-on-stackoverflow-com-frontpage other sites About Us Learn more about Stack Overflow the company Business Learn http://answers.google.com/answers/threadview?id=214965 more about hiring developers or posting ads with us Meta Stack Exchange Questions Tags Users Badges Unanswered Ask Question _ Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 161 Stack Exchange communities. What is meta? Here's how it frontpage form works: Any Stack Exchange user can ask a question The community provides support, votes on ideas, and reports bugs Your voice helps shape the way Stack Exchange operates html validation error on stackoverflow.com frontpage up vote 5 down vote favorite on the frontpage(other pages i checked works fine) of stackoverflow.com there is a feed link which generates id with unnecessary string " test" frontpage form validation
Jun 2003 00:03 PDT Expires: 09 Jul 2003 00:03 PDT Question ID: 214965 Hi. I have made a form in FP2002. I used FP's nice interface for validating fields (in Field Properties). I also made a confirmation page, and I uploaded my file onto the Internet. Everything worked fine. Then, I wanted to add a few other validation criteria, by writing a small Javascript in the head; a function called validate(). And you know how you put a onSubmit="validate();" tag in your form properties. So I did that. BUT the funny thing is, when I published the pages this time, the generated code (I looked up by View Source) does not include my call to validate(), rather, it has FP's generated clause: onSubmit="return FrontPage_Form1_Validator(this)" So, I'm totally clueless as of how to tell FP to first run my own method, and then its own validation stuff. It seems to overwrite my onSubmit. Please help me out. Thanks! Request for Question Clarification by errol-ga on 09 Jun 2003 05:39 PDT Hi there! I also have Frontpage 2002 on my system. Try doing the following and let me know if it works so I can post it as an answer. - Go to the Insert menu, then select Web Component. - Select Advanced Controls then HTML at the top right. - In this text box you can insert HTML code that will not be modified by Frontpage so view source on the entire form code that you already have and paste it into this text area, adding your own javascript code. Hope this helps, errol-ga. Clarification of Question by amirehsans-ga on 09 Jun 2003 10:58 PDT Well, actually I tried what you said, but this FP is so stubborn, that when I add my own HTML the way you said, and then try to publish, it digests my HTML and rewrites it the way I told you in my first writing. Is there any other way around this? I actually tried putting a onClick="validate();" in my Submit button. What happens is that the script is run, but the confirmation page is automatically loaded at the same time that the visitor receives the alert. This way, my JS validation sounds reduntant because the user doesn't get to correct their mistakes. So