Trying to get a thread to change form controls in Windows Mobile.
Throws an unsupported exception.
Does this mean it cant be done at all?
If not, how do I go about this? Forms are created in the Parent/Main thread then a thread is created to do some work in the background but I want to make it so the Background thread can update the f...
Hi
I'm developing an app that needs to have some backward compatibility. I have a form where I host the UserControl element. When i do that 2 extra buttons show from the middle of nowhere
like navigation application.
How to get rid off these?
the gui was made in blend. Firstly i made a new project (WPF) and then i change it to WPF Us...
Is it possible in Asp.NET MVC to proframmatically logout a user? I am aware that you can use:
FormsService.SignOut();
But this refers to the context of the webpage making the request. I'm trying to prevent a user logging in twice. So if I call:
MembershipUser membershipUser = Membership.GetUser(userName);
if (membershipUser.IsOnlin...
I'm a bit new to the C#-form app developing and I want know, what's the best way around at making a control that holds a list of horizontal items. In which each of these items are horizontally ruled to it's parent control, contain a thumbnail to the left and a large text block to the right of image and a smaller text block underneath tha...
I am trying to take form results that are generated from a PHP call and populate them into a div that will then appear in a light box upon click of the submit button. So far I have successfully setup the form and am populating the results on the same page into a hidden div. I can make this div appear no problem in a light box by settin...
What are your thoughts about this issue in regards to an e-commerce environment?
Do you think it is wise to turn autocomplete off on all sensitive input fields such as passwords (for log-in areas), or will this just inconvenience the client?
...
I can't believe I'm having to ask this, but I'm at my wit's end.
I'm trying to display 2 form fields inline, but with the label for each field on the top. In ascii art:
Label 1 Label 2
--------- ---------
| | | |
--------- ---------
Should be pretty simple.
<label for=foo>Label 1</label>
<input type=text ...
I have a model with single-table inheritance on the type column:
class Pet < ActiveRecord::Base
TYPES = [Dog, Cat, Hamster]
validates_presence_of :name
end
I want to offer a <select> dropdown on the new and edit pages:
<% form_for @model do |f| %>
<%= f.label :name %>
<%= f.text_input :name %>
<%= f.label :type %>
<%= f....
Hi,
I've generated the backend of my application, and am now just 'jazzing' the forms up (adding correct labels, validation rules etc).
One thing I'd like to do is add a map (Google) which updates the marker as an address is entered into the form, then allows the user to drag it to correct the lat/lng should it be a little off.
My que...
I created two application MainApps and SubApps, the SubApps has a modal type dialogbox such as login/logout form etc. and its working fine.
After I attach it to the MainApps, the Modal Dialog box shows like normal box form. It behaves like "DIALOG.SHOW" instead of "DIALOG.SHOWMODAL";
I am using delphi compiler
SubApps buttonclick;
...
Hopefully this is a pretty simple question! I've got the code working in jQuery to listen for a specific form on a page to be submitted and perform an alert when it is.. I.e.: The form itself doesn't have an ID so I am targeting the form within a specific DIV ID.
$("#content form").submit(function() {
alert("lorem ipsum dolor?");...
<%= f.label :type %>
<%= f.select(:type, ["original","print","other"]) %>
I have a photos model and added a drop-down list to the form, when the
option is selected, the correct parameters are passed but it is not
saved to the database.
I've googled this and looked at the api but I'm not too sure what I'm doing.
In my photo model type i...
Does anyone know how the authenticity token is managed in rails 3? With all the unobtrusive javascript rails 3 articles showing how the html5 data attributes are used I don't see the authenticity token anywhere.
...
Does anyone know if its possible to send out custom http REQUEST headers in HTML without having to use javascript (no xhr wrapper).
Would it be possible to define them as meta tags within the head? Or may they be defined in the form somewhere?
<meta http-equip="x-something-custom" name="custom value" />
this works, however, this is a...
I am trying to pass some JavaScript variables that I have assigned to form variables into a query string used by a jQuery plug in called fancybox. If I hard code in the string that I want lightbox works great, however I need it to pass some form values in there to make it work as desire.
<script type="text/javascript">
$(document)....
So, I have radio boxes of the form
<li><input type="radio" name="names" value="blah"><a>Some text (blah)</a></li>
There are 100 plus of these radio buttons.
Now, I have a jQuery filter, from here. The filter works well.
But, I want to set a jQuery statement that will auto select the radio button if it is, amongst the shown, the onl...
What is the best way to gray out text inputs on an HTML form? I need the inputs to be grayed out when a user checks a check box. Do I have to use JavaScript for this (not very familiar with JavaScript) or can I use PHP (which I am more familiar with)?
EDIT:
After some reading I have got a little bit of code, but it is giving me probl...
I have a form file upload. When the users goes to upload an image, it displays all files on their computer. How can I make the HTML upload dialog window to only display JPG, GIF and PNGs?
...
I have the the following code and want to use a hyper link to submit my form.
<form name="form_signup" id="form_signup" method="post" action="/" enctype="multipart/form-data">
...
<input type="submit" value="Go to Step 2" name="completed" /> or <a onclick="javascript:this.form.submit();">Proceed without uploading</a></span>
</form>
Ho...
Why do I need the name and id attributes for <input> form elements?
Which is used for POST data sending and which can I exclude?
...