So I am trying to use a button click to open the next form (in my form flow), and pass the ID to the next form using openArgs:
docmd.openform "NextForm",,,,,, MainID
docmd.close acform, "CurrentForm", acSaveYes
the second form will not open....i have never run into this problem with a docmd.openform in a sub before. however, this is m...
In a Ruby on Rails application I am trying to use information from fields that are not associated with the model in validation.
Here is part of the model as an example (the whole model has gotten kinda big):
class Scorecard < ActiveRecord::Base
belongs_to :course
belongs_to :user
validate :attributes_consistency
def attribute...
class SomeModel(models.Model):
text = models.TextField()
ip = models.IPAddressField()
created_on = models.DateTimeField()
updated_on = models.DateTimeField()
Say I have that as a model, what if I wanted to only display 'text' field widget for the user to submit data, but I obviously wouldn't want the user to see the...
I have a resume model that has two associations (documents and wizards). A document is the uploaded resume while a wizard is the output from the user using the resume wizard. These are mutually exclusive models. How can I validate that the user has created a document or a wizard when validating resume?
I am building the association in m...
I have a webpage that looks like:
<html>
<head>
<title>Hi</title>
</head>
<body>
<form name="mainForm" method="post" action="">
<p>
<input type="checkbox" name="PLD">
<input type="submit" value="Submit">
</p>
</form>
</body>
</html>
If the checkbox is not checked, form submission works i...
I have two <select> elements. The first one contains countries (e.g. USA, Canada, England, Russia, Poland...) and the second one is hidden, containing cities from only USA and Canada (e.g. New York, Los Angeles, Chicago... OR Ottawa, Vancouver, Surrey...)
If the user selects Canada or USA from the first <select>, the second should show ...
How do I retrieve the n-th value in a JSON file (and maybe it's children, too)?
For example, I have a collection of courses and associated events formatted in JSON, which I'm using to populate a couple of select lists, e.g:
// extract from courselist.php
[{
"optionValue": "Getting Research into Practice",
"events": [
{"...
Hello
I have two scripts in a file active_form.js
The first script hides a text entry when a radiobutton is checked and the second does the same thing when a value is selected in a list.
When there are alone, the both work but together my function GereControleRadio do nothing.
edit : the two scripts are called in the same form.
The ...
hi all...
i want to select a checkbox when a button is clicked.
<form action="" method="post" id="form2">
<input type="checkbox" id="checkone" value="one" name="one" />
<input type="button" value="Click me" id="buttonone"/>
</form>
when i tried the following, the checkbox was not getting selected
$('#buttonone').click(functi...
I have a website at which you can upload your photos from a trip, for example, and have them displayed in your profile. I am now trying to make a mobile version of this website. So my question is, what is the easiest way to make it possible for my users to upload their images from their cell phones to the website?
...
Hi,
I have a symfony 1.4 form with 2 embedded forms.
The parent form has a drop down which determines which of the embedded forms you fill in (hidden/shown on the frontend using JavaScript).
The problem is, when I submit the form, the validation and save is being run on both of the embedded forms, which I obviously don't want.
What i...
My form in asp.net 3.5 is set up inside an html table, and is rendering with enough space to display all the validator error messages attached to the textboxes, checkboxes, etc. in each row.
My table is 3 columns, with column one labeling each control, column 2 holding the controls themselves, and column 3 being reserved for the valida...
I have a form in a web page dynamically generated and I would like to display it using a the jQuery UI modal dialog.
How can I display the modal dialog form with the remote existing form (myform.html) as content when I click on a link "Open Form"?
Clicking on submit button should close the dialog form.
...
I want show Loader img with jQuery when you post by PHP Simple action="search.php" Not ajax post or jquery post
and Thanx for all
...
I'll start off by saying I'm new to jQuery but I am really enjoying it. I'm also new to stackoverflow and really loving it!!
The problem:
I've created a sub-form with jQuery so that a user may add, then select this information from a dropdown list if it is not already available. I'm unable to POST this data with .ajax(), so that the u...
If I have a combobBox with values red/white/blue and the users chooses blue then I want my form action php page to use the value 2, not `blue. I hope you see what I mean.
Is there any easy way to do that?
...
I am writing a small powershell script using windows forms which generates an HTML signature.
The user can edit size, color etc and the script generates the html as a from their choices, and updates (theoretically) my WebBrowser preview when they press a preview button.
My WebBrowser Control:
$Preview = new-object System.Windows.Forms...
Hi,
I have a form MyForm which I update using ajax as the user fills it out. I have a view method which updates the form by constructing a MyForm from request.POST and feeding it back.
def update_form(request):
if request.method == 'POST':
dict = {}
dict['form'] = MyForm(request.POST).as_p()
return HttpResp...
Hello I want to know if it's possible to add widgets to a CRUD form : I want to select an entry in a list or to enter a text in an input if the entry isn't in list.
The user choose with a radiobutton if he choose in list or write in the input.
It's possible ? If yes, how can I do this ?
...
I'm wondering if there is a standard for forms. I mean, when you write a form in HTML, one usually writes it based on its needs, without taking care of its HTML structure.
I ask this because I'm working on a Form generator in PHP. I want to make something easy to use and a generated HTML code easy CSS-customizable.
There are some Form ...