forms

Forms authentication on different hostings

Hi have form authenticaion for my site, and it works fine on localhost and godaddy, but after moving to another hosting it stop working. After login in admin area after 2-3 minutes I redirecting back to login screen. Does anybody know if I change some settings on IIS or what is the source of the problem? My code looks like <authentica...

How can I "pre-fill" the value of a textarea in an HTML form?

I'm creating a simple back-end app through which the user can create/update/delete database rows (in this case, job listings). When it comes time for the user to edit an existing listing, I'm trying to pre-fill most of the HTML form with the data from that existing row. I've done this sucessfully for text inputs using the "value" proper...

Sharepoint form with linked lists

I am new to Sharepoint and I want to make sure I am on the right path. I am in a highly restricted environment and would rather do this in Visual Studio but am currently in the position where I have to try to get this to work using just the web interface and Sharepoint Designer. I have created multiple lists that I plan on using in a r...

Form wrapped in two separate DIV's not displaying in IE7

I have a form wrapped in two separate div's in order to cause the upper portion of the form to be hidden until mouseover triggers a jQuery slideUP animation, revealing the second. Despite being a bit hack-ish, this works in all major browsers except IE7. Is there a way to make the lower portion of the form which is visible in the #top_m...

Creating a multi-step create action in Rails

I have a portion of my app that sometimes will need to inform the user of their action, but the app does not know of the requirement to inform the user until after the form has been submitted (which eliminates Javascript). Basically what happens is that the user uploads one or more files containing records, if the number of records with...

Forms Authentication & Virtual Directory

Hi, We're having trouble getting Forms Authentication to work with a virtual directory in IIS. We have a main site, and then a microsite setup within a virtual directory. This mircosite has its own admin system within an "Admin" folder, which has authentication on it but currently it is not kicking in and the admin section is browsabl...

At What Point Does a Form Lose its "Model-ness" and Become a Document?

I have been thinking and learning a lot about forms lately trying to add advanced extensions to the Spree ECommerce Platform: Subscriptions, Events, Donations, and all kinds of Surveys. Every example I have ever encountered (in blogs, in the docs, in screencasts, in source code, etc.) make forms out of Models, but they never go to anyth...

Forms-application to display, edit and save XML. What are the possibilities?

Hi all, I have to develop a forms-application with the following specs. I have an XML file with data. I have to display this data within my application or by forms. The user must be able to view, edit, add, manipulate the data and save it to an XML file. I can't use an application/web server, it must be an offline application and the d...

Multiple Sharepoint Forms

I am trying to split out what I originally wanted in a single form. The downside was that I wanted to keep multiple lists and I found that I could not use a single form with multiple lists. What I am trying to do is to keep my customer information in a separate list/form so I can re-use it in a different application as well. What I wo...

Should a Form object posses the dual responsibilities of displaying and processing?

I have a prototype with a Form class which auto-generates an HTML form, and now I am plugging some processing functionality into the prototype. Should the same Form class that generates the HTML for the form also process the form? Doing so would make the class have two different, distinct...yet related purposes. Should this be one clas...

C# Windows Forms RichTextBox cursor position

Hello everyone! I have a C# Windows Forms program that has a RichTextBox control. Whenever the text inside the box is changed (other than typing that change), the cursor goes back to the beginning. In other words, when the text in the RichTextBox is changed by using the Text property, it makes the cursor jump back. How can I keep the c...

JavaScript form to search engine redirection problem. [Solved]

Ok, so I'm trying to make a form that will take given text and direct you to a chosen search engine with the text as the query. I'm having problems getting the javascript to (re)direct. What's interesting is that if you make the submit input a button and do onClick="searchForm" and then click on it, it will work. But then you can't type...

Following Authlogic tutorial but: undefined method `email' for #<UserSession: {:unauthorized_record=>"<protected>"}>

I followed the official Authlogic tutorial but something came up. I successfully created a user, but when I try to show his profile page, I get the following error: undefined method `email' for #<UserSession: {:unauthorized_record=>"<protected>"}> Here's the relevant code: # user.rb class User < ActiveRecord::Base acts_as_authe...

JQuery Autocomplete - Stop mouseover+Return submitting data

I'm using JQuery Autocomplete (bassistance) and have run into a problem. If the mouse rolls over one of the autocomplete suggestions and the user hits the return key (rather than clicking to make selection), the form is submitted and goes to whatever link was rolled over at the time. This is a problem as people click in the textbox, and...

Reconfiguring PHP Mail() Smarty Contact Form

Hi, I'm using Prestashop as my ecommerce shopping cart and CMS solution and was having problems receiving emails sent via the contact form. I asked around and found the problem to be due to the fact that I need to assign the 'from' address as something from my domain (e.g. [email protected]) and the email entered by user to be a...

Get different form depending on option selected from drop down box in Microsoft Access

I have a drop down box on the main form with four location options e.g. town, city, country, village. I have four additional forms that I want to link to each of these options so that if the user selects "town", the "town form" opens for them to enter information. Same for the other options. I'm new to Access so will need very precise...

Input Image Coodinates Not Working In Chrome

Problem: I have a page that has a large form, and in the middle of it I have an image as an input. From that image I get the x and y coordinates for where the user clicked, do some calculation, and redirect to a different page. However when I use Google Chrome on this page I find that the x and y coordinates are not posted, and so this...

Can get move_uploaded_file to work

Cant seem to make php move_uploaded_file function to work. $MAX_FILESIZE = 5 * 1024 * 1024; $rEFileTypes = "/^\.(jpg|jpeg|gif|png|pdf|xls|xlsx|ppt|pptx){1}$/i"; $isFile = is_uploaded_file($_FILES["prodImage"]["tmp_name"]); if($isFile) { ...

Dynamic forms in zend??

hey, i'm stuck at a problem which is kind of similar to one that Erik asked about. I'm trying to create a dynamic form in zend and what i wanna do is that there should be a button which when clicked adds a new text box or any form element dynamically. now the problem is that i'm new to zend framework. i'm using 1.9.7 right now. i've don...

How to capture mouse movements C# form application?

How to capture mouse movements C# form application? ...