I have a form with a subform on it. If subform contains no records, it's visible property is false. In that case, I'd like the outer form to shrink so that there isn't a big empty space where the subform was.
The long way to do this would be by setting the position for all the controls on the form based on whether the subform is visible...
Hello,I have several forms,one for adding news,one for deleting news,one for something else,...,when add or update news,options that i use in ajaxForm stay in my memory,and when I first add news,than later update,when click update button,news are update and add,can someone help me a little.
Maybe problem is that I have 2 different submit...
Sometimes, when I submit a form that gathers checkbox data, the checkbox data displays perfectly and other times, the values don't display at all. Any ideas what could cause this?
...
I am writing HTML to an ASP.NET page (from a web service response), and the HTML has <form> tags. Unfortunately, because the ASP.NET page already has a wrapped around it, a lot of the buttons on the page break. Does anyone know how I can nest the form inside the ASP.NET page without breaking the top-level form?
Note: the HTML I am bri...
I have a two page site.
Each page contains a header with "tabs" at the top, to navigate between page 1 and 2.
When a tab is selected, I need the selected page to re-POST to the server, to quickly refresh before it is displayed.
I have a form on each page that allows a manual refresh from that page but need to submit that form from the...
I'm using Delphi 4.
I have a main form with a button that dynamically creates a new form.
I'd like the new form to be visible, but to show up BEHIND the main form.
I've tried calling SendToBack() immediately after FormCreate(). But that makes the window flicker quickly before it's actually sent to back.
I've tried making the form invis...
Currently I am developing a CakePHP that will list various businesses.
In the database, there is a table for businesses that lists them like so:
id | name | address | city | state | state_id | zip | url
The state column are abbreviations of states (for listing purposes) CA, AK, FL, etc and the state_id matches up with the id...
I need to retain the Form data submitted in one view to be used in another view.
I'll be using POST method to submit the data. Is there anyway I can retrieve data from the POST method in Ruby, like in PHP I would use $title=$_POST["title"].
Any ideas?
Thanks and Cheers !
...
My form has several numeric up down controls. All of these controls, when changed, call the same method:
private void SetColors(object sender, EventArgs e)
How do I determine which control called the method?
...
Hi
My application has many many mdi forms and they are created after successfull user login. How can I best hide this creation process? It looks stupid and it takes longer time while mdi forms are painted after new form is created and so on.
So far I have used LockWindowUpdate, which doesn't hide everything, but I would like to use a s...
When submitting forms on a wordpress page with multiple checkboxes, on the first submit, when I print_r($_POST), the checkbox array shows two items without their values. Occasionally it works.
Here's the code:
<form action="<?php echo htmlentities($_SERVER['REQUEST_URI']); ?>" id="assessment-form" method="post">
<ul>
<li>
...
I have a form (greatly simplified):
<form action='http://example.com/' method='post' name='event_form'>
<input type='text' name='foo' value='3'/>
<input type='submit' name='event_submit' value='Edit'/>
</form>
And I have a class "EventForm" to process the form. The main method, process() looks like this:
public function process($...
Is it possible to dynamically set a Spring MVC portlet:actionURL portlet:param using javascript? I have tried with the following code, but the id value always comes across as null to the controller. I have verified that setting the portlet:param manually passes the value correctly:
<portlet:param name="id" value="2" />
I have also ve...
Hi, i have a form where my users can register to my site.
They fill in theirs birthdate in the form: birthyear, birthmonth and birthday.
So i am using Range to create the select in the form like this:
= f.select(:birthmonth, options_for_select((1..12)))
But that doesnt start the single digit numbers with a zero like i want: 01, 02, 03...
I'm hoping people have some ideas to help solve this problem.
I am developing a C# ASP.NET website and the client requires an online form that users will fill in and submit. OK, so far so good.....
Imagine, say, a form that you fill in on paper - they normally have a distinctive look specific to the company and will be filed, quite pos...
I have an array (for checkboxes) that I need to pass alongside the regular form in an ajax post, but can't seem to get this to work:
new_data = [a,b,c,d,e];
somedata_assoc = JQuery.param({'choices[]': new_data});
$.ajax({
type: "POST",
url: contract_qurl,
data: $(div).find("form").serialize()+"&"+somedata_assoc,
...
I have this code.
The code below is working in Firefox, but it is not in IE
<?php // file: login_dfr.php ?>
<body>
<?php
$data = getLoginData($_SESSION['whoyouare']);
?>
<form name="frm_redirect_dfr" action="<?php echo $data['url']; ?>" method="POST" id="frm_redirect_dfr" style="display: none;">
<input name="DFRNet_User" value...
I am looking for good helper libraries to generate a rather complex form in Django.
Dynamic field dependencies: Say if option a is selected certain fields are shown/hidden and subset of these are mandatory depending on option selection.
Add more: On clicking "Add more" button that clones some widget.
This is something which ToscaWid...
I'm currently building an Excel 2003 app that requires a horribly complex form and am worried about limitations on the number of controls. It currently has 154 controls (counted using Me.Controls.Count - this should be accurate, right?) but is probably only about a third complete. The workflow really fits a single form, but I guess I c...
Hi,
I have an object like so:
public class FormFields extends BaseObject implements Serializable {
private FieldType fieldType; //checkbox, text, radio
private List<FieldValue> value; //FieldValue contains simple string/int information, id, value, label
//other properties and getter/setters
}
I loop through a list of FormFields a...