Hi everyone, I'm trying to create a dependent select form like this one on AjaxRay. Here's what I've done so far: http://buzzmedia.com.my/honda/form.html
Unlike the example from AjaxRay, my form has multiple rows. I need to figure out how to adapt the code from the AjaxRay example for my own form.
...
Hello,
I have a confirm step in one of my pages.
Desired action:
user clicks 'submit' and an AJAX request is made that does the appropriate action and returns a confirm dialog
user 'confirms' and then the form is submitted using a standard post.
So for the first part I'm fine using the jQuery form plugin:
$('form').ajaxForm(...opt...
<tr>
<td><input name="of[1][dsn]" type="text" size="6" /></td>
<td><input name="of[1][gc]" type="text" size="6" /></td>
<td><input name="of[1][ys]" type="text" size="3" /></td>
<td><input name="of[1][ym]" type="text" size="3" /></td>
<td><input name="of[1][yl]" type="text" size="3" /></td>
<td><input name="of[1][s]" type="text" size="3" ...
Hello peoples,
I am using JRails with Ruby on Rails so that I can simply use jQuery since I am more familiar with it. I am also attempting to use Low Pro to submit some of my forms remotely.
I am currently running into an interesting problem that has me stumped. I have added the following to my application.js file and I know that these...
I've found a PHP script that lets me do what I asked in this SO question. I can use this just fine, but out of curiosity I'd like to recreate the following code in Python.
I can of course use urllib2 to get the page, but I'm at a loss on how to handle the cookies since mechanize (tested with Python 2.5 and 2.6 on Windows and Python 2...
Hi,
I need some idea in Saving the Form entries..
In my app, i have designed the form using Cakephp and JQuery, saved the form and can view the form ..
While i fill the entries in the form it is saved in my Table Results
My results table is having (id,form_id,attribute_id,label,value)
I can view the form n times and can fill...
Hi,
I am using jquery remote tab in my asp.net application.So each tab will load an aspx page on click.I have implemented forms authentication in my application, so after authentication time out, if i click on a tab, the login page gets loaded in that tab instead of the actual page(which is the correct behavior).But i want to prevent thi...
I have an form input element and I want to change it's title attribute. This has got to be easy as pie but for some reason I cannot find how to do this. How is this done and where and how should I be searching on how to do this?
...
I am using the jQuery Form Plugin with my Rails app. I have a form like this:
<form action="/comments" id="comment_form" method="post">
<textarea cols="60" id="comment_comment" name="comment[comment]" rows="3"></textarea>
<input id="comment_submit" name="commit" type="submit" value="Add comment" />
</form>
My application.js file h...
I'm trying to implement the state pattern for a multi-page registration form. The data on each page will be accumulated and stored in a session object.
Should validation (including service layer calls to the DB) occur on the page level or inside each state class? In other words, should the concrete implementation of IState be concerned...
A very basic question...
How can I only allow the selection of one option in a list of radio buttons?
<form action="process_repair.php" method="POST">
<label for "repair_complete">Repair complete</label>
<input type="radio" name="Yes" value="true">
<input type="radio" name="No" value="false">
</form>
When this code runs, it's po...
I have two forms, in the main one a have a crystalreportviewer and in the other one the user introduces the ID of the user he wants to be on the report. The problem I want the user to introduce the ID before the report loads the information, so when the user clicks the CreateReport button just before the report loads the info, I created ...
I'm trying to get forms working with powershell, and I'm nearly there. I've got a checklist box full of ~10 items, and I'd like to perform an action on the selected items when you click the Report button.
I've never worked with forms (either in C#, .NET, or powershell) so this is a learning experience... Is there any examples of how to,...
Currently I am using this to strip out whitespaces.
class Newsletter < ActiveRecord::Base
before_validation :clean_up_whitespace
end
def clean_up_whitespace
fields_to_strip = ['title','notes']
fields_to_strip.each { |f|
unless self.attributes[f].nil?
self.attributes[f].strip!
end
}
end
I want to do something simi...
Ok for something that sounds easy, im having some problems looking for an answer. I have this model:
class Page(models.Model):
creator = models.TextField(blank=False)
name = models.CharField(max_length=70, primary_key=True)
name_slug = models.SlugField(max_length=70, unique=True)
whenever I save in admin i...
Using javascript, how can we auto insert the current DATE and TIME into a form input field.
I'm building a "Problems" form to keep track of user submitted complaints about a certain service. I'm collecting as much info as possible. I want to save the staff here from having to manually enter the date and time each time they open the form...
I have a data model in my Rails project that has a serialized field:
class Widget < ActiveRecord::Base
serialize :options
end
The options field can have variable data info. For example, here is the options field for one record from the fixtures file:
options:
query_id: 2
axis_y: 'percent'
axis_x: 'text'
units: '...
Hello. From what I've understood the relationship point to pixel will depend on the screen resolution. So how can I calcule it at run-time in c#?
Thanks
...
Hello everyone! I discovered a problem in my little program, and Im wondering if anyone have any tips or advice on how to solve this problem as best as possible.
I have the bean testBean which is in request scope. It contains the following:
public class testBean {
private boolean internal = false;
private String input = "";
public S...
I'm looking for an easy, drag and drop style form creator tool in ASP that has a web interface with a copy and paste style output where I can drop the code into my html/.asp file. I know and have used one for PHP called 'machform' but I am searching for something similar for ASP/.NET.
Would appreciate any advice!
...