I'm looking to build an ecommerce form using the PRG model. My question is on how best to hold the users credit card information during each page transition (page 1 input, page 2 review/submit, page 3 thank you) -- is a SESSION the best way to handle this, and is it secure enough? If not storing in a SESSION, how else would I do it? I...
Hi lad's,
I'm working on a project at the moment that requires alot of forms. I was thinking of a workaround to minimise spending hours of time on the subject. Above all else I don't want to use a framework to do this for me, I'm still learning so its important for me to understand at the core.
Ok so I have a class called form builde...
Hi I need to validate that a textbox should accept only url names.
Can anybody tell me please.
I would be really thankful.
...
Brief synopsis, this code works beautifully and does what it is supposed except with radio buttons on webkit.
$('input, textarea, select').focus(function(){
$(this).parents('.row').addClass("hilite");
}).blur(function(){
$(this).parents('.row2').removeClass("hilite");
});
I did some research and tested it a few...
I am using jQuery to show and hide a div by adding/removing a class to it.
$('input').focus(function(){
$(this).parents('.row').addClass("linksdiv");
}).blur(function(){
$(this).parents('.row').removeClass("linksdiv");
});
It works quite well when focusing on inputs, but if I click a link in linksdiv it loses focus and the div...
I would like to create a dialog where I am asking the user about his language skills.
the construction looks as follow:
form
input
select language input
select years of experiance
button(add new language) {or} button(submit)
/form
the problem I have is that I only can pass my values to my db after I have collected all information.
...
As the title states, I am looking for something, that will help me automate form processing (validation/rendering/etc) in twisted.web. I am also looking for a suitable templating toolkit to use with it.
As for templating, it is not so much of an issue as there are a lot of libraries in python, that do it. I was considering the following...
I am trying to modify a php module, which shows a form on a webpage to be different.
The original module code is here, and instead of showing menus, I just want to show form fields with names.
Here is the code I have so far: http://tinyurl.com/2cjdfuh (redirects to nomorepasting.com)
which is essentially just setting up the database ta...
First let me thank all of you for your amazing efforts and help thus far. Now to the question.
I have five checkboxes and at least one of the five needs to be checked to validate as required.
I have seen a few methods of how to do this but I can't seem to make any of them work.
Solve One
Solve Two
Now I am using both the validate pl...
Hello.
I want to caputure an image of a control which is an ActiveX imported control and display that image in WPF.
The reason I do not use the windows forms host is that it is too slow (i want to create a list with these activex controls) : so far i have:
public Bitmap CaptureCtrl(Control ctrl)
{
// Ein neues Image mit...
I've read this, but I'm new to RoR so I'm having a little trouble understanding it. I'm using a form to create a new request record, and all of the variables that I need to send exist already. Here is the data I need to send (this is in a do loop):
:user_id => w[:requesteeID]
:requesteeName => current_user.name
:requesteeEmail => curren...
I'm seeing an intermittent problem on our web site. Some users are trying to submit forms via GET when my form method is POST. The errors always come from IE users. I have noticed a few UA strings have a reference to "yie8," which I am assuming is Yahoo's IE8 package. I think the Yahoo! toolbar might have something against me, but I ...
Hi,
I am working on the following form for a local charity: http://bit.ly/dtcuv7
I am having trouble with the check boxes in the availability section.
What I really want is for people to be able to simply check the times they are available to help out and then have these checked times sent with the rest of the form data to the charit...
Hey everyone!
I need to gather some information from a Microsoft Access form and I need everything to be as organized as possible.
There are a lot of columns that can be filled out, but don't necessarily apply to everyone and I want to keep everything as clean as possible.
In a form, is there any way to have certain input boxes displa...
Hey everyone!
So my issue is that I want to have users enter their registration keys to a software into an Access table.
There are five parts to the registration key. How can I take these 5 boxes and format them to one column in the database?
(In Form: [_______] - [_______] - [_______] - [_______] - [_______]
In Database: "_______ -...
Hey guys
I'm sitting here wondering wheather this php contact form solution is too simple to actually work. Or, well it does work, but will it always work?
Also, atm when you recieve the email, it says FROM: [email protected]
which means that most mail clients will put it straight in the junkbox. How can I change it...
I am sorry if the title is wrong, but I think that is what I mean to ask.
So I have a subform created that I would like to use, sort of like a control panel, that allows user to select a range of different forms. So the same subform ends up in a lot of different parent forms. I would like to use simple
docmd.close acform
but i am lo...
If I have a form that's on page http://foo.com/get, but posts to http://foo.com/post, what's the best way to handle displaying validation errors? I want to redirect the user back to the first page. How can I stash the form state (including error messages), so that on the next request following the redirect to http://foo.com/get I can g...
Hi,
I have create a new content type and added new form items using CCK. I need to customise the layout of the form which I've partially managed using css and moving items around and adding custom markup in the form_alter hook. However, this still isn't enough as the weightings don't appear to be doing exactly what I want them to do. ...
I'm creating some dynamic pictures with the IHttpHandler interface. Then I wont to create a pdf document, where those pictures are included.
But I need to copy the authentication cookie to my new HttpWebRequest object.
How can this be achieved?
I use normal asp.net forms.
...