Hi,
I am creating a very custom form on a symfony project and currently I have something like this:
foreach ($foo as $c) {
$fields['crit_v_'.$c->getId()]=new sfWidgetFormInput(array('label'=>''));
$fields['crit_m_'.$c->getId()]=new sfWidgetFormTextarea(array('label'=>__($c->getName(),array(),'messages')));
}
As you can ...
I have a form with many divs inside. Each div is categorized and has various fields to be filled up by the user. I want to have a flow here so that the user can fill the fields in the second div only after filling the fields in the first div. In short show the second div after filling the fields in the first div and so on.
I tried using...
Hi!
I'm using CKEditor on a textarea and the jQuery validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
With the jQuery plugin it's possible to mark a field as empty or required.
When a field e.g. "product name" is empty the field will be marked as invalid when submitting the form.
But, while typing in a...
I have a form that is used to record a transaction. Liquid is moved from one tank to another. My form takes the from tank and the to tank and the number of gallons transferred. i would like this to be entered into the database as two rows. The first would be the from Tank ID and a negative number and the second row would be the to Ta...
i have several inputfields with some defoult values. i have defined tabindexes to jump with tab-button from field to field. the problem is if i jump to a field the fieldtext become selected and if i start to type it will be replaced. i would like to set the cursor position et the end of the prefilled text. how can i do it
...
I'm trying to make a non-model form in ruby on rails, most of the examples I can find only have one field (say a search field) or use an old way of writing a form like this An Email Form with Ruby on Rails
If anyone could show me example code of a non-model form with say two fields for the view and how I access those fields in the contr...
I'm trying to make this:
<form id="simple-search" name="simple-search" action="/search/" method="POST">
<label for="simple-search-address">Location/Address</label>
<input type="text" id="simple-search-address" name="address" value="" />
<label for="simple-search-dob-day'">D.O.B.</label>
<select name="dob-day" id="simple-...
I have seen forms that can do this without using <br /> etc.
Here's my form:
<form id="staff-login" name="staff-login" action="/staff/login/" method="POST">
<label for="staff-login-email">Email</label>
<input type="text" id="staff-login-email" name="email" value="" />
<label for="staff-login-address">Password</label>
<i...
Hi, please forgive me if this is not the proper place to post this question.
I'm new to dotNET and know nothing about Direct3D and WPF. The tutorials I found out there don't seem to be suitable for a beginner like me.
I want to create a simple windows form in CSharp which has its 2D controls placed in a 3D space, please guide me in a s...
Hi There,
I am looking to create a dropdown menu in my windows form application that is similar to the dropdown menu in html i.e. etc..
I need each entry to display text to user but store a value to be used in my app.
I am currently using a combobox but that doens't seem to let me store an associated value for each entry.
Thanks in ...
Hey!
I need a library/algorithm that can transform an arbitrary logical expression that contains range predicates into a reduced disjoint normal form.
Example :
(x > 40) & ( (x > 50) | (y > 10)) -> (x > 50) | (x > 40) & (y > 10)
Basically, what I want to simply such an expression in order to evaluated as fast as possible.
Anyone c...
UPDATED - since I was not clear in me expressions. Will try again:
I have a form with several inputs that are created dynamically like this:
<form id="tellafriend_form" method="post" action="landingpage.aspx">
<!-- static example -->
<input type="text" id="my_example" name="my_example" value="" />
<!-- dynamic part -->
<xsl:fo...
I have a Java applet, which is a form that draw shapes into it (Rect, Oval, Line).
Each shape is represented by 2 points and can draw itself to the form.
When the JApplet form resizes, I need to resize the shapes also while keeping the aspect ratio.
I didn't find an high quality solution for doing this that solves this problem.
Tried t...
hi all
in my project i have two forms ,when i clicked show form 2 button in form1 ,form2 will pop up ,i want to terminate my whole application by clicking close button on form2 ,
can anyone please tell me how can i do this ?
...
Hi,
Can I send an email that contains an HTML form with one combobox, that upon changing the value a reply would be send back?
From the research I've made it seems that it is not possible...
http://en.wikipedia.org/wiki/HTML%5Fe-mail
Is that true?
Thanks,
Eden
...
Are there any good resources for the layout of elements in a form? Possibly large forms as they are common in applications for highly specialised users.
I am talking about choices like:
go down in columns first, then right to the nex column vs.
go right in rows first, then down to the next row
what to do in the presence of especially ...
I'm trying to change the form action based on the selected value from a dropdown menu...
Basically, the html looks like this:
<form class="search-form" id="search-form" method="post" accept-charset="UTF-8" action="/search/user">
<select id="selectsearch" class="form-select" name="selectsearch">
<option value="people">Search people</o...
I am trying to display my command objects collection field inside a list box. Inside said collection is a field, id and name. I want use the id as the html option value and the name as the option text. See the code below;
<form:select id="customCollection" path="customCollection" size="10">
<form:options items="${command.customColle...
Hi,
is there a way to validate a form through JS and check how many checkboxes are selected?
I have a list with 15 checkboxes and I want that the user check exactly 2 checkboxes.
...
Hello,
I'm trying to get some input from a user and use that input in a php script. Right now I have a form tag, from the little I understand, this cannot have multiline input. The solution seems to be a TextArea, however I'm not sure how to get the input from a TextArea.
Here's my code with the form :
<form action="traitement_cmd....