I have implemented a captcha in my form, but it doesn't seem to be validating. I have included code below to see if there is anything obvious in my layout and how I can go about modifying it. Public and private keys have been deleted for the post.
Thanks.
<h1>Contact</h1>
<form action="index.php" method="post">
<input type="hidden" nam...
I am using jEditable to edit a table inline, the third column of which contains email addresses. This column contains plaintext, but it is converted to mailto: links using jQuery . Currently, when jEditable is activated, the user sees this: <a href="mailto:[email protected]">[email protected]</a>
How do I force jEditable to treat th...
I have a form where a couple of fields are coming out as required when I don't want them too. Here is the form from models.py
class CircuitForm(ModelForm):
class Meta:
model = Circuit
exclude = ('lastPaged',)
def __init__(self, *args, **kwargs):
super(CircuitForm, self).__init__(*args, **kwargs)
self.fields['...
Hi, I have a html form, which like this:
I have 2 fields, name and email, and 2 buttons, "add row" and "submit".
When i click the "add row" button, it will create a new row with 2 new fields (name and email). I store the name and email in array: ...
Thus, user can ad unlimited rows. I want to have a validation, if the user fill in eit...
I have a html form that I process with a aspx page. I want to be able to go back to my html form if the validation on the aspx page returns false (I cannot use javascript to validate the html form). I can't use Response.Redirect as I will lose the data initially entered on the html form.
The set-up is:
form.html (set action attribute ...
Hello,
I have an input box which i use to add items to a table in the db.
It looks like this:
<td>
<form class="insCat" action="#" name="insertCat">
<input name="categorienaam" type="text">
<input class="insert" type="submit" value="nieuwe categorie">
</form>
</td>
And i handle it like this in jquery
jQuery(".insert")...
We are using the Zend Router and it seems that its overwriting the parameters that are sent by forms. The only parameters that arrive to the controller are the params from the Url.
Does anyone know why this is happening?
Here is the config file:
; Routing config
routes.groups.route = groups/:group/:type/:idPost/:postUrl/:page
routes...
Hi I'm trying to make some form send back to the person who fill up these forms as a references. However I keep getting error in line 5. Which i don't see any problem. Can anyone guide me? Thanks!
<?php session_start();
require_once 'opendb.php'
$subject = "Refrence";
$refemail = "Here is the list for your refrence";
$class_name = $_P...
I have a bunch of name/email fields in my form like this:
data[Friend][0][name]
data[Friend][1][name]
data[Friend][2][name]
etc.
and
data[Friend][0][email]
data[Friend][1][email]
data[Friend][2][email]
etc.
I have a custom validation rule on each one that checks to see if the corresponding field is filled in. Ie. if data[Friend][...
I'm having trouble finding an elegant way to allow for date/time input in an html form. I am thinking of having drop down menus for year, month, day, hour, minute, second, millisecond that are populated with valid entries only. I could do this by hard coding values for each drop down menu, but I'm thinking there must be a more elegant wa...
form:
<form id="defineForm" method="POST" action="api/test">
<fieldset>
<legend>Generale</legend>
<input type="text" name="id" size="60" maxlength="60"/>
<input type="text" name="descr" size="60"/>
<textarea name="longDescr" cols="62" rows="10"></textarea>
using cols="62" for "longDescr" and size="60" for...
So in a nutshell on "page1.php" I have a calculator that consists of an html form, and then the php code totals the input and displays the total price. Below the price, it also displays a link to "page2.php" which contains an html form where they can enter their contact information and upon submitting the form the selections they made on...
I have a page with a table of stuff and I need to allow the user to select rows to process. I've figured out how to add a column of check boxes to the table but I can't seem to figure out how to test if they are checked when the form is submitted. If they were static elements, I'd be able to just check do this.theCheckBox but they are pr...
What I'm trying to do is draw some glass on a form marked as an mdi container. However as soon as the IsMdiContainer is set, the form adds an MdiClient to it's list of Controls. At this point something happens to the parent form - almost like a dark gray panel is being docked to the entire form onto which the MdiClient is being placed on...
On my PHP web page, I want to have an input field where the user can enter a web address. I want to do a quick validation to make sure it actually looks like a web address. If good, I want to append that web address to the URL behind some buttons the user can click.
For example, maybe I want to create something that lets the user en...
I have a select form field that I want to mark as "readonly", as in the user cannot modify the value, but the value is still submitted with the form. Using the disabled attribute prevents the user from changing the value, but does not submit the value with the form.
The readonly attribute is only available for input and textarea fields...
What's the difference between a report and a form?
In VB6, we have Data Report Designer to help with the creation of data reports.
I have not really used a report in my application yet. To me, it looks just like a form, but I think there must be some difference between them, or there is no need for the word "report" to exist?
Would so...
Hi,
Is it possible to have a nested ajax form in cakephp and firefox ?
i.e.
$ajax->form(form1...)
table
row
$ajax->form(childForm_rowId)
$form->end(childForm_rowId)
endrow
end table
$form->end
I found this works in IE7, but not in Firefox 3.5.1
Firefox will omit the childForm declaration, so the child ...
I have a use case which I think can only be modeled by heavy customization of the CRUD form; hoping there is a better way, and if not, for any kind of insight :)
I need to model a use case where the standard create Referral (custom entity) form is a sequence of stages (eg. tabs with logical previous/next buttons). I need to hold the use...
This question seems easy but for some reason I have trouble finding the answer.
I have an application that saves the form's size and position on an INI file. That's all an well, however when you close the application when maximized it will save the size and position of the form maximized but not its state.
What I mean is that on the n...