As I have a complex domain model (DDD) where I need to create a few hundred forms in the user interface, I'm looking for a generator, preferably embedding the apple layout rules, and data binding. This is crucial to get a uniform application appearance.
I would prefer the generating to be of run-time instances (introspection), not stat...
I'm creating a quote form where a user will select a service (logo, print, website etc.) via a drop-down and click add. A div of predetermined form values related to their choice will appear below in order for me to gain more detail on what they're looking for. Once they make a choice, and customize it's options, they can add additional ...
Having a little bit of trouble with this section of code:
if(!empty($_POST['RemoveRequest']) && isset($_POST['RemoveRequest'])){ $action = $_POST['RemoveRequest']; }
echo '<form method="post" action="'.$page_name.'">
<input type="submit" value="[Remove Request]" name="RemoveRequest" /></form></td>'
.'</tr></table>';
if($action == 'Rem...
Hello,
I have use a tutorial to make an input autocomplete with jQuery and ajax.
But when I write something in, the circle turns to show there is a request but the list with the choices isn't display. I have tried with an entry I know it must appear in the list.
My action :
public function executeMyAction(sfWebRequest $request) {
...
if(!isset($_POST['JoinFaction'])) {
echo '<form method="post" action="'.$page_name.'"><dl id="sample" class="dropdown" align="left">'
.'<dt><a href="#"><span>Recruiting Factions ['.$numrows.']</span>'
.'</a></dt><dd><ul>';
while($faction_re = mysql_fetch_array($sql)){
echo '<li><a href="#">'.$faction_re['f_name'].''
.'<span...
I want the functionality of a radio button, yet have the option of choosing based on an image. For example, I am going to have a label (Payment Methods). I would like to set up various DIV/Images with each accepted payment (Credit/card, PayPal, western union, etc). Instead of choose a small little circle radio button, id rather them jus...
Update : Gutted entire question with more thorough description
Ok same question with different names.
In my model, I do validate the presence of.
class QuickFact < ActiveRecord::Base
belongs_to :organization
validates_presence_of :quick_fact, :content
But if either is blank, it errors out with :
Missing template organizations/...
I have two JavaScript code snippets. These perform specific task when an 'Update' button is clicked.
I would like to merge them. Any help is appreciated.
JavaScript 1: When the button is clicked, it checks if at least one checkbox is selected:
function doUpdate(){
var c = document.getElementsByTagName('input');
for (var i = 0...
I'm using Outlook 2007 and trying to design a form that changes the To: field based on whatever is in a ComboBox1.
Simple right? I thought so, until I found the documentation extremely lacking. Everything is point me to VBScrip and I have googled to exhaustion on the topic of setting the to field in vbscript.
Can someone with some out...
Hi, everyone,
I want to ask a question about the multipart/form-data. In the HTTP header, I find that the Content-Type: multipart/form-data; boundary=???. Is the ??? free define by the user? or it is general from the HTML? Is it possible for me to define the ??? = abcdefg? Thank you.
...
Hi Guys,
I'm having a problem with mutliple form buttons. I've got a DB table which lists all of my categories, these are placed into a form in the form of image-buttons. They all have the same name and their value is the ID from the Category's table. So I've got a form with a number of buttons;
<input type="image" value="<%= Html.Enco...
I have a form which is posted to an external API. There is a parameter called customer_token which is passed as an input field. It is used for authentication by the API and every customer is assigned one token. The input field is visible in Firefox's Firebug (even though it is a hidden field).
How do I hide it?
Options
*Using javascr...
On my form, I store inputs in this way:
<input name="tokens[0][A]">
<input name="tokens[1][B]">
<input name="tokens[2][A]">
etc.
Is there a way, using javascript or jquery, to easily grab all the inputs with [A] as their final index? All I actually need to do is count the number of inputs with an [A] index.
...
I would like to execute some code when a user closes a form using the x button in the top right corner of the window (I have the form load when the excel spreadsheet is opened, and it hides Excel. I want to exit excel once the form is closed, or at least show excel again so the user may exit it manually)
Looking at the form properties, ...
I have an application in Forms that has a lot of custom controls, all on panels within a home-grown tab control. So far, so good.
The problem comes from some systems, all XP. If you start the app from a shortcut, with the "Run Maximized" option selected, the application runs but the tabs do not paint properly. Also, the desktop seems to...
The user sees a web form with a bunch of controls. One of them is a combo box (drop down list) with several options.
He selects one and hits the submit button. My PHP form action validates the input & shows the submission as a read-only version of the input form for confirmation.
I would like to prevent the combobox from dropping down,...
I have recently begun working on a PHP/JS Form Class that will also include a SQL Form builder (eg. building simple forms from sql and auto inserts/updates).
I have tried several classes (zend_form, clonefish, PHP Form Builder Class, phorms etc) but as yet haven't come across a complete solution that is simple, customizable and complet...
I need to manipulate parts of a form in Drupal 6 based on the contents of a file field.
For example:
if the form shows and there is a file, do x
if the form opens without a file, do y
if a file is uploaded, do z (as soon as the upload is finished)
if a file upload fails, or the uploaded file is deleted, do xyz (whether ahah is used o...
Hi Guys,
Ive never used this site but really need some help with this one.
I have this page http://bit.ly/d6WfDG and in the top left corner if you click learn more
you will see my pop up div
So i need to trigger this event but after 1 minute instead of using the link learn more.
Also in the same breathe is it possible to validate and...
I think this is easy, but I'm not sure what the right syntax is. I am posting a form via JQuery ajax - you know
$j.ajax({
type: "post", etc.....
But I need to make sure the form is capable of being processed if Java is disabled. Is there a "header" in the ajax send that can be used to identify it as aposed to a normal post...