I'm trying to implement a custom form builder, similar to those provided by Wufoo and Google.
While I've created a simple UI to create these custom forms with, my issues lie in the database design. Upon creating the form, a JSON implementation is saved in the database (would like to improve this) and referenced to build the form that a ...
I need to submit a hash of attributes directly from the form tag. Is this possible?
<form action="/members/1/comments" method="post">
[some element] {"coordinator\_id"=>"1", "time"=>"1230", "info_link"=>"cnn.com"}
<submit>Post</submit>
</form>
This hash should arrive as 'comment' => {"coordinator_id"=>"1", "time"=>"1230", "info_l...
Given this empty form, how would I use jQuery to attach a JSON object as params and then submit it? The form should standard submit, not AJAX.
<form action="/comments" method="post" id="comments_form">
<submit>Post</submit>
</form>
...
hey,
I have a div in the size of 900x30
I have a form in this div, but when I try to put an image after the < / form > (the image is still inside the same div as the form), I see the image on a new line.
How can i prevnt it and make the image show in the same line as the form ?
im using CSS btw...
thanks
...
When my program runs it closes form1 after a few seconds. Depending on what happened during form1's lifespan I may want to open form2. Normally I would just make a new instance of form2 and use the show() method. But form2 is then a child of form1 and then also closes. Does any body have an idea on how to get this to work? thanks.
...
Don't dismiss this as a newbie question! It's not, I'm not, I've tried everything, and its a complex/convoluted environment that my code is in.
Okay - here goes. I'm adapting someone else's html/js/css code and trying to get it to work on my server (I've taken permission - please, no comments on that). The main html generates a overlaid...
Hi,
My application (C#, VS2008) loads information from a database (SQL Server 2008 Express) over the network. During (possibly) longish waits, I want to have a 'Loading...' dialog box appear running on a different thread, but only if the operation takes more than a specific time period (say 500ms).
So, I have so far got my loading for...
Hi, I want to get an event when form caption is clicked. How to do this? Thank you.
...
Hi,
I have an Access2003 form where I wanted to group several controls together and change visibility programatically, though VBA code.
Is this possible? I do know that I can group items through Format -> Group, but if I do that, how do I refer the the entire group in my code?
Thank you
...
Our application used to make use of a common base form that all forms were meant to inherit from. I'd like to get rid of it for a number of reasons, ranging from the need to police that everyone uses it to several annoyances relating to Delphi's VFI implementation. It turns out that the bulk of the features it offered can be done in othe...
I have a form that I want to create whereby the user enters in one digit per text box. I need all those digits to be correct when the user clicks a button - imagine the iPhone Passcode lock feature.
Ideally I'd like the button only to be clickable when all the digits are correct (perhaps with a variable I define) - otherwise it doesn't...
Hi, Whats the best way to create a custom ASP.NET forms authentication ticket with a specified timeout? The timeout value is coming from a database not the web.config.
Thanks
...
I have a project with graphs that can be printed. When you click the print button, a Print Preview form loads with:
Public Sub print()
printPreview.Show
End Sub
Everything works fine on my development machine both when I run it in debug mode and when I install our distributed installation package.
For some reason though, everyone...
Hi ,
If I want to change my filename before it goes to the Server for its permanent location not its temporary Location how could I do this.
The code is as fellowed:
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<inp...
I have foreign key entries in my model that I'd like to use for my choicefields...now I'm not so sure how to go about this....my model file can be found here Basically I want have a choicefield for vehicle make, model, year, body style, exterior color and transmission. Since all of them work in the same way I just need someone to point...
Hi ,
I have a simple jsp form that the customer uses to send us emails. Though on some occasions the emails come through incorrectly formatted with the text =?ISO-8859-1?Q? sporadically displayed throughout the text of the email.
I know that ISO-8859-1 is a character encoding though I am not sure how this error is occurring and have ...
1. frmHome frm = new frmHome();
frm.Show();
this.Close();
I'm opening HomeForm from LoginForm. In LoginForm's form_closed event I call Application.Exit(). This allows you to open LoginForm and exit the application by clicking the X button.
The problem is when I move from LoginForm to HomeForm and call this.Close(), the form_c...
I have an HTML form defined as
<form name="writeYourAd" id="writeYourAd" method="post" action="post.php?action=preview" onsubmit="return checkContentForm(this);" enctype="multipart/form-data">
If I use a , it works fine. But if instead I use this:
<a href="#" class="mmh_orngebtn mmh_grybtn" onclick="javascript:document.writeYourAd.su...
I'm building a site that offers functionality to users without requiring them to register. The idea is to send an email to the specified address containing a link with a token. That way the user would could this link anytime they want to make changes to the functionality.
While I realize that there is no way to truly secure such a conce...
Let's say I have this model:
class Foo(models.Model):
bar = models.ForeignKey(Bar)
currency = models.ForeignKey(Currency) # currency is just an example
is_active = models.BooleanField()
Now suppose Foo is an Inline of Bar. And I would always want to indicate a value on each currency? If I could replace those currency drop ...