forms

How can I get rid of a persistent VBA Form Object that won't honor the form deletion?

I have an MS Access 2003 database that I'm using to develop a basic little inventory app. I have added some extraneous forms along the way and I wanted to get them out of the DB. I deleted most of them just fine but one of them appears to have left behind its VBA Object. All that's in the object is Option Compare Database. Now whenev...

calling javascript from a html form

I am basing my question and example on Jason's answer in this question I am trying to avoid using an eventListner, and just to call handleClick onsubmit, when the submit button is clicked. Absolutely nothing happens with the code I have. Why is handleClick not being called? <html> <head> <script type="text/javascript"> fu...

PHP removing text in a link

How do you strip/remove wording in PHP? I have a form that's passing a full URL link to an output page. Example: maps/africa.pdf And on the output page, I want to provide an "href link", but in PHP use that same posted URL, but strip off the "maps" and have it provide a link that just says africa. Example: africa can this be done?...

Secure asp.net site that uses Master Pages with Forms Authentication

I've got a master page in a root folder of an asp.net application and content pages in subfolders. I'm using forms authentication and am not sure what to do, in web.config, for the master page. Does the forms authentication protect the child pages or the master page? How does it work? ...

PHP Framework for form-intensive application

Hi, I'm looking for a simple-to-learn php framework for an application that is being migrated from Access to PHP. The application has lots of forms (sometimes 50+ fields per page), and lots of the fields are inter-dependent (ie, you change one field, it updates some other fields or options). Is there any good php framework for this? I ...

C# Form Application - Modal Dialogs Have Wrong Parent

I have an application which has an asynchronous operation built into it that loops over a large number of items and performs lengthy calculations on each item, as this occurs certain conditions will cause the application to pop up a modal dialog for user input. Interestingly, I noticed while running this today that in one application ins...

C# remoting with forms

On my remoting server I wish to display a toast when a message is posted from a client. When a message is received, I try: public void Log( string message ) { new Toast( message ).Show(); } However, the toasts lock up during creation due to what I assume is a threading issue. I do not, however, know how to resolve ...

What applications do you use for data entry and retrieval via ODBC?

What apps or tools do you use for data entry into your database? I'm trying to improve our existing (cumbersome) system that uses a php web based system for entering data one ... item ... at ... a ... time. My current solution to this is to use a spreadsheet. It works well with text and numbers that are human readable, but not with fore...

How To Subclass A Form in Delphi? Best Practices?

I've got a base form in Delphi 2007 that I'd like to reuse in another project, adding some other buttons and such. I'm familiar with subclassing a non-GUI object, but it is possible to subclass a Form in the same fashion? Can you make changes to the subclass Form in design mode? How do you go about doing this and what are some things ...

ASP.NET POST Problem

I'm new to ASP.NET and have a form tag on an ascx user control. I'm unable to submit the form from javascript because I found out that this form is nested inside a form called 'aspnetForm'. If I just want to make a post to a cgi, how can I accomplish this? ...

In Rails, how do I generate form labels without symbols that still create correct "for" attributes?

In Rails, how do I generate form labels without symbols that still create correct "for" attributes? If I take this form: <% form_for(@thing) do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.submit 'Create' %> </p> <% end %> And alter it to improve the clar...

Is it possible to add an anchor to a FORM post/get?

I noticed that in Firefox I can add a #MyAnchor tag to the action attribute like... <form action="#MyAnchor"> <input type="text" name="a" /> <input type="text" name="b" /> <input type="submit" /> </form> and when the form is submitted, the anchor automatically shows up in the URL like mypage.aspx?a=1&b=2#MyAnchor However, t...

How to remove size property from input generated by text_field?

I have an .erb file with form template that uses form_for helper to generate form, and some of their fields generated with text_field method. In resulting HTML I see size properties are added to every input generated with aforementioned method. I want to control input sizes with CSS and that size property prevents me from doing it. Is t...

Are you allowed to have an input without a value?

Is the following allowed? <input type="hidden" name="field" /> ...

What's the "for" for in a label tag?

Just ran across a "for" parameter in an HTML label tag: <LABEL for="required-firstname">First Name</label> <small>*</small> <input name="required-firstname" type="text" tabindex="2" id="required-firstname" size="24" maxlength="40"> I'm converting this form to a PHP processed script, can I get rid of the for= pa...

Autofill IDs in a form with a relation

I have created a blog, it will have posts, and the posts are created by the users. I already have a login system in my blog. And I have made the relation between a user and his posts. Now when I want to add a new post I want Rails to autofill the user_id field. Should I add a hidden field and add the user_id from the session where I sav...

Submitting a form on 'Enter' with jQuery?

I have a bog-standard login form - an email text field, a password field and a submit button on an AIR project that's using HTML/jQuery. When I hit Enter on the form, the entire form's contents vanish, but the form isn't submitted. Does anyone know if this is a Webkit issue (Adobe AIR uses Webkit for HTML), or if I've bunged things up?...

How do I implement press and hold button javascript?

I'm a complete novice, looking for instructions on implementing javascript. I am attempting to replace a YUI slider with buttons and a text field. I am trying to achieve buttons that, when held down, will continue to make the text field increase, preferably at a faster and faster rate. (http://www.blackbird502.com/white.htm)I have thi...

Form Styling with SPAN text instead of input or select controls

I've got CSS that formats labels above form input elements and I'd like to replace the input elements with text from the database if I'm just displaying read-only data. No matter what I do, changing the input fields to a span or asp:label will not properly render the label above the text. I'm using this CSS: div.formRow { padding: ...

Visual Basic - taking information from one window and putting it into another

I am developing a game and I want an options window to be used so that the user enters data into this and it carries to the main window instead of being lost... I tried it with my recent program , guess the color , but it did not work the way I thought. I thought that I could assign it to a string in a textbox to a variable and it would...