Hi
I'm using "plupload" plugin.
I have this input form :
<div id="flash_uploader" style="width: 610px; height: 330px;">You browser doesn't have Flash installed.</div><input type="text" name="categorie" id ="categorie" value="" /><input type="submit" value="send" />
I try to get the value of "categorie" with "multipart_params" but th...
I have two models, Leads and courses, Leads HABTM courses.
I want to list all courses in leads/new as checkboxes, at the moment I have them as a multiselect box, but I dont like the way it works.
This is what I have at the moment
<%= f.collection_select :course_ids, Course.find(:all, :order => 'course_type'),
:id, :course_name, {},...
Hi,
I'm trying to add a page to my Magento site which contains an enquiry form. User would fill out name, email, tel no and add a file attachment. The store owner would then get the email with the uploaded file as an attachment.
I'm a Magento newbie and the client I'm doing this for is reluctant to pay for an extension.
My understandi...
I'm using:
var data = $("form :input[value]");
To get all the values in a form and passing the data to an ajax script.
My problem is it doesn't work with RADIO buttons - it always sends the last value for the radio group.
Any ideas on how to get the checked radio button along with all the other form values?
...
I have an contact mail form on my website and i want to make this form secure enough.
Which is the best way to to this job, is there any way to hide php variables that i sent with post to another page.
Any sample or link or idea ?
Secure - i mean my data to be safe, since users will be inserting their personal data, like passport nu...
hi i have on object (serverconnection from sqlserver Managament object ) i need send this object to other form to configure connection option and connect so object return but when i send this object to form2 how return it or when i use form.ShowDialog() when this return or how return from this
...
Possible Duplicate:
How to implement file upload progress bar on web?
Hello
I have seen many webpages where the user is able to upload a file and he is given some sort of progress as visual feedback (horizontal bar, percentage etc).
My html form is
<form method="post" action="upload.php" enctype="multipart/form-data">
<p>Se...
I've got an HTML <form> with a few <button>s and an <input type="submit">:
<form>
<button>first button</button>
<button>second button</button>
<input type="text">
<input type="submit">
</form>
But when enter is pressed while in the text field, the "first button" is activated instead of the "submit" button.
How can I m...
i'm using the following code to submit a form:
function submitfilter(){
alert("in here");
var o = $("#opentimes").val();
var p = $("#price").val();
var d = $("#distance").val();
var t = $("#type").val();
$.post("eateries.php", { opentimes: o, price: p, distance: d, type: t }, function(data) { $("html").html(data); } );
return fal...
I have a page where I can view a product, and directly from this page the user can add and remove multiple images associated with the product. I'm using paperclip in a form to upload new file.
Because multiple images can be saved for a product I created an image model belonging to the product model. It's not possible to use the default...
I have this working code
f = SomeForm(request.POST)
When I tried to modify it into
f = SomeForm(request.POST, initial={'spam', 4})
it didnt work, the 'initial' wasnt selected ('spam' is a ModelChoiceField), but when I tried
f = SomeForm(initial={'spam', 4})
it worked (selected value was correct). Am I missing something here? If ...
I have a form that I want to present in two states:
1) Normal form
2) Person can look at the form as filled out by a user but can't change anything
It's easy to handle text inputs with the readonly property, but radio buttons, checkboxes, and dropdown menus don't use it. I can set the "disabled" property for those, but in most browse...
I'm dynamically adding textboxes to a form on my jsp page using Javascript. When that form is submitted to an action, how does my action get the values of those textboxes? (I'm using Struts 2, btw.) In ASP.NET, I was able to find them in Form.Request/FormCollection. Is there a Struts 2 equivalent? Thanks a million.
...
Ok, i'm using the grid to list various content. How can I get specific colums to resize while others stay fixed.
That is, form pops up with specifc Initial column sizes for the controls... if the user RESIZES the form... i want certain 'memo' like fields to expand. How to do that? i seem to only be able to get ALL 'second' column...
I have put together a form to save a recipe. It makes use of a form and an inline formset. I have users with text files containing recipes and they would like to cut and paste the data to make entry easier. I have worked out how to populate the form portion after processing the raw text input but I cannot figure out how to populate th...
I have this form:
<form action="after.php" method="post" id="divulgacao">
<div style="float: left;width: 195px; margin-right: 10px;">
<p class="pdados">Your name</p>
<input class="campodivulgue" name="titulo" type="text" />
</div>
<div style="float: left;width: 195px; margin-right: 10px;">
<p class="p...
I have the following code -
<form id="smsform" class="appnitro" method="post" action="/form" onSubmit="alert('Your message has been delivered.');">
<input type="hidden" value="<?php echo $message; ?>" name="message" />
and so on...
Now what i want is that when the form is submitted then instead of goi...
I've got a website where URLs are rewritten in this format:
http://www.example.co.uk/module/page/query/
http://www.example.co.uk/index.php?m=module&p=page&q=query
Which gives rise to pages such as:
http://www.example.co.uk/schools/view/495/
http://www.example.co.uk/schools/search/park+lane/
Is there any way to make it so th...
I have a little question re Symfony and the automatic creation of forms.
Basically what I need to do is to change the class name of the widget which gets used when creating a representation of a database field of type data/time.
Currently its creating a sfWidgetFormDateTime() widget however I would like it to generate a widget from a cl...
Hi, I have a form which I want the user to fill in and I want to have the keypad to pop up on the iphone automatically when they hit a JSP page instead of them tapping on the input box first. What is the special tag in order to achieve that? (note this is not an objective C app)
Also, is it possible to set a timer, eg: 3 seconds, then h...