Hi There,
I am a bit of a PHP newb
I have developed a multi-page form which works fine at the moment - each stage is on another page (I use the session to retain the data).
However I know that users don't always use these forms the way you want!
I want to control the flow of the form.
I would like the user to be able to use the browse...
I have this piece of code I've done so far:
$assign = $_POST['assign'];
if(!empty($name) && !empty($description) && !empty($deadline))
{
if(validateDate($deadline))
{
$final_deadline = strtotime($deadline);
$sql .= "INSERT INTO projects
(project_id, project_name, project_description, project_dea...
I am trying to find using iTextSharp if a PDF Form field is required. There is a checkbox in the Acrobat Field Properties dialog to mark a Field as required, but could not find the Corresponding property in iTextSharp.
Please someone suggest me how to find this.
Thanks in Advance
B
...
Hello everybody, I wanna make a contact us form in Rails 3 with the fields name, email, message title and message body but I don't know how to do it. The posted messages are intended to go to my email address so I don't necessarily must store the messages in the DB. Do I have to use ActionMailer, any gem or plugin for it? Any help is app...
The question says it all,
For example,
In a contact book if someone has multiple addresses with each address having multiple fields I want to display an "add another address" button. This button would add another address form. (I want one round trip to the server, I do not want javascript or webforms2.)
It would be nice if some buil...
I am sending a request using post, but on firebug I see the request type is OPTIONS.
How do I avoid that?
Here is the code I am using:
var Req = new Request.HTML({'onSuccess':function(responseTree){
$('my_id').innerHTML='';
$('my_id').adopt(responseTree);
...
*Update: I have pasted working code in order to erase any ambiguity about what is going on. I have also tried to remove the preventDefault on both handlers, does not help
I have a form where upon the button click, a JS event needs to happen, and the form needs to submit.
As per the code below, what I thought would happen is: alert(but...
I have the following model classes:
class Upload < ActiveRecord::Base
...
has_many :reviews, :order => "created_at DESC"
...
end
class Review < ActiveRecord::Base
...
belongs_to :upload
belongs_to :user
validates_presence_of :description
...
end
My upload/show view has a form for to capture a review for the speci...
I have a perl script which when run from the command line generates a text file of data with a specific format for use by another application. The script also prints informational warning messages on stderr. I'm writing a web front end for this. In an ideal world when the user clicks 'submit' on the associated form, a page would be displ...
Im trying create a form where when the "+" button is pressed a new row of four input blank boxes is created. Now when "+" is pressed it copies the row (and anything typed in it) identically. How can I create a blank row? How can I have only one "+" button rather than a new one on each new column?
Heres the page>>
http://myvirtualltcigu...
I'm building the front end of a website that'll be holding data for users. Type of data is name, email, ethnicity, income, pets etc etc. Each person can have a partner (with the same questions) and an infinite number of children (names, dob, gender etc). The user can sign up, and then must be able to log in in the future to update their ...
Hi
I'm attempting to hack a wordpress plugin to gain some extra functionality.
As it stands i've adjusted it so I can add a new textarea with it's own upload box.
I now need a way to get the ID of the new textarea, so I can pass the uploaded file text back to the correct textarea.
this is my code:
JQUERY:
<script type="text/jquery"...
I've been recruited to work on a form for tracking specimens. Each specimen is associated with a subject; each specimen also has a particular slot in a 9 x 9 storage box. For ease of data entry, I think it would be best if the Access form mirrored the box itself (and the paper forms that will be used to enter data into Access): nine co...
I'm trying to use PHP to do this:
<if !empty($list) {echo
.
.
.
?>
And get the result:
Additional options:
<p><input type="checkbox" name="1">1</input></label></p>
<p><input type="checkbox" name="2">2</input></label></p>
.
.
.
<p><input type="checkbox" name="n">n</input></label></p>
</legend>
</fieldse...
I need to be able to print text into a form field from an <'a'> link.
Basically I have a list of job postings on one page, and an 'apply' link for each one. What then will happen is it'll bring up a form with the "Job Chosen" field already filled out with the "Job Title" from the previous page.
Something like
<a href="applyform.php?su...
I am fairly new to Jquery and javascript and have jumped in head first and am a bit stuck.
I have a page where clicking a button opens a small overlay via an AJAX call that then gives a whole bunch of checkboxes for users to choose what tags they want to associate with the keywords. I'm then trying to process the checkboxes via another ...
Hi,
I have a HTML form, which includes radio buttons that the user can select if he wants to sign up for multiple years in order to get a discount. At the moment, i have a PHP if statement that basically says
IF the user selects yes for the discount, calculate the price, display details in a table, perform SHA1HASH conversion, and the...
so I have 2 classes
this one:
class updateForm(forms.Form):
address = forms.CharField(
max_length = 255,
label = 'Home Address',
)
cnp = forms.CharField(
max_length = 15,
label = 'CNP',
...
I currently have this working somewhat as follows
aspRadioButtonList ID="leavingCert" CssClass="radio pc2 top8" RepeatDirection="Horizontal" runat="server" AutoPostBack="True" OnSelectedIndexChanged="includeDaft_CheckedChanged">"
But the problem is this refreshes the page is it this possible without refreshing the page
...
I have a simple form with 2 pull-down menus. What I can't figure out how to do is have a simple HTML link that will copy the selection from the first select menu to the second. The one caveat is that we don't set 'id' on our form input fields so I need the JQuery object selection to be done using the 'name' field instead. Here is the HTM...