forms

.asp upload file error help.

Can the clsupload.asp directly replace the persits code? I am a total nubee to coding. tks... I inherited a website and discovered that they used a com object "persits upload. I do not want to purchase and install for one application. Can someone help to tell me where or how to change this below code to work without the software buy? S...

Now that I've set up Forms Authentication on my site, the stylesheet won't load!

I've set up Forms Authentication on my ASP.NET MVC website, including setting up appropriate entries in the web.config. Now every request to my site redirects to the Login page to authenticate the user. Problem is, this happens even when my pages try to access the master stylesheet (in the Content folder), so they end up rendering with...

.NET two "forms" on a page and their validators

Hi, I have got a page that has 2 "forms" (What I mean by a form here is a Panel consisting of: textboxes, validators and a button). (I got 2 here because one of them is actually on the MasterPage, shown all the time) The problem is when you try to submit to one of the form, it will validate the other form, which of course is blank and...

What would be the best framework for XML/XSL/XSD/XHTML app with PHP

I am in the process of designing a web application that takes HTML form input and validates against XSD files and eventually stores data in a Database. I am looking to use the LAMP stack for this application and am looking for ideas on what framework(s) to base my application on. The following are my requirements: Web Application with ...

Django set default form values

I have a Model as follows class TankJournal(models.Model): user = models.ForeignKey(User) tank = models.ForeignKey(TankProfile) ts = models.IntegerField(max_length=15) title = models.CharField(max_length=50) body = models.TextField() I have a modelform as follows for that model class JournalForm(ModelForm): tank = forms...

html form not working with select list in IE8 (IE7 Compatability)

I've come across a strange problem with a ASP.net MVC project. the following code works fine in Firefox, chrome, Safari IE8 - BUT not IE8 in IE7 Compatability mode <% Using Ajax.BeginForm("SetStatus", "StatusControl", New AjaxOptions With {.Confirm = "Are you sure you wish to change the Status?", .OnBegin = "Show_Updating", .OnComplet...

jQuery need to set variable's value from the value of a form input box

I am looking to grab the value of a form input. I think my problem is on this line: var vid = $(this).next(".pid").val(); I need to send the value of the input box named 'pid' to a php page, however there are several forms on the page, all with input boxes named 'pid'. When i merely have: next(".pid").val(); the value that is ...

Forms authentication table locations

When using aspnet_regsql to create the base tables for forms authentication, is it recommended that these tables be stored inside of the application database catalog or should a database catalog just for authentication be created. Thanks! ...

DateTimePicker for custom calendars

Do you know any DateTimePickers for calendars other than the Gregorian calendar? ...

Speed up html form development

I have to build an web app with a large amount of forms. Does anyone have a favourite tool to speed this development up? This isn't complicated but writing them by hand will take me ages... I've used wufoo in the past and like the interface, so short of any other suggestions I'll probably go with that ...

How do I use jQuery's form.serialize but exclude empty fields

I have a search form with a number of text inputs & drop downs that submits via a GET. I'd like to have a cleaner search url by removing the empty fields from the querystring when a search is performed. var form = $("form"); var serializedFormStr = form.serialize(); // I'd like to remove inputs where value is '' or '.' here window.l...

SharePoint Registration Form - How to Hide Fields

I created a basic registration form using a SharePoint 2007 custom list where users complete fields on the form. I created an 'Approver' field that I'm trying to hide from customers so that only the form's approver will edit that field (approve the request - Customers tend to approve their own request). How can I hide this approval field...

Symfony 1.2: Error when adding/editing entry in admin module

I get this error when trying to run the model module "user" in the app "backend" with backend_dev.php/user, then clicking "New" and adding some data: Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in C:\xampp\htdocs\sf_sandbox\lib\symfony\util\sfParameterHolde r.class....

Dynamic HTML Form Generation

I need to generate HTML forms in Java. I don't know in advance what fields are needed, those will probably be delivered in XML (i have some say over this). I could use the same input file to handle the form submission. Are there libs, techniques that deal with this problem? I can't imagine that there aren't, but i can't find a suitable ...

Is it possible to digitally sign an Adobe LiveCycle HTML Form ?

Is possible to digitally sign an Adobe LiveCycle HTML Form ? I know that with IBM Lotus Forms you can sign forms, rendered as HTML with an ActiveX control. ...

Password fields not clearing on submit in asp.net mvc

I have a user preference page in which the user can type in their current password, new password and confirm new password. When the user submits the form it sends them to an action. The problem is that when the form submits, the password fields stay filled. I want them to clear. I attempted javascript but when I use document.preferen...

Django ForeignKey on form with ModelChoiceField disappears

Weird problem in Django with forms : I have a Form.class defined like this ... class MeetingForm(forms.Form): owner = forms.ModelChoiceField( queryset=Profile.objects.all(), widget=forms.HiddenInput() ) date = forms.DateTimeField() name = forms.CharField(max_length=30) etc. And I create new ins...

VB6 Changing colors for every control on a form

Hi, I am trying to change the colour theme of an old VB6 application (make it look a bit more modern!). Can someone tell me how I could change the backcolor of every control on a form without doing it for each and every control (label, button, frame etc!). I have about 50 forms, all containing such controls and doing this manually for...

Django Forms Newbie Question

Alright, I'm at a loss with the Django Forms, as the documentation just doesn't seem to quite cover what I'm looking for. At least it seems to come to a screeching halt once you get past the most rudimentary of forms. I'm more than willing to take a link to good documentation, or a link to a good book that covers this topic, as an answer...

Another Django Forms : Foreign Key in Hidden Field

Another Django Form question. My form : class PlanForm(forms.ModelForm): owner = forms.ModelChoiceField(label="", queryset=Profile.objects.all(), widget=forms.HiddenInput()) etc... class Meta: model = Plan Owner, in the model, is a ForeignKey...