tagged [forms]

creating about dialog box in C# form application

creating about dialog box in C# form application I have a C# form application, in that I have a menu where one of the item is `help`. It has a sub-item `About`. As you seen in many applications when y...

22 Apr at 05:12

form with no action and where enter does not reload page

form with no action and where enter does not reload page I am looking for the neatest way to create an HTML form which does not have a submit button. That itself is easy enough, but I also need to sto...

21 Jul at 21:32

How to transfer data from JSP to servlet when submitting HTML form

How to transfer data from JSP to servlet when submitting HTML form I have a JSP page with an HTML form: How to obtain these data in a servlet and add them to database?

8 Feb at 10:14

Disable scrolling on `<input type=number>`

Disable scrolling on `` Is it possible to disable the scroll wheel changing the number in an input number field? I've messed with webkit-specific CSS to remove the spinner but I'd like to get rid of t...

30 Jan at 17:26

How Can I Change Height in ViewCell

How Can I Change Height in ViewCell I'm trying to change ViewCell on listview, but the code below not work for me: ```

7 Jun at 18:37

Toast equivalent for Xamarin Forms

Toast equivalent for Xamarin Forms Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with Toast, that needs no user interaction and goes away after...

14 Nov at 15:12

How do I capture response of form.submit

How do I capture response of form.submit I have the following code: I want to capture the html response of `form1.submit`? How do I do this? Ca

jQuery - select the associated label element of a input field

jQuery - select the associated label element of a input field I have a set of input fields, some of them have labels associated, some not: so, how can I select the associated label for each input, if ...

30 Jan at 18:15

Postman Chrome: What is the difference between form-data, x-www-form-urlencoded and raw

Postman Chrome: What is the difference between form-data, x-www-form-urlencoded and raw I am using the Postman Chrome extension for testing a web service. There are three options available for data in...

18 May at 00:22

C# Auto Resize Form to DataGridView's size

C# Auto Resize Form to DataGridView's size I have a Form and a DataGridView. I populate the DataGridView at runtime, so I want to know how do I resize the Form dynamically according to the size of the...

22 Oct at 14:49

C#: making a form non-resizable

C#: making a form non-resizable In order to make a form non-resizable I have set MaximumSize and MinimumSize to the same value. The problem I have is that when the user points to the border of the for...

2 Mar at 14:58

How to set a class attribute to a Symfony2 form input

How to set a class attribute to a Symfony2 form input How can I set the `HTML` `class` attribute to a form `` using the `FormBuilder` in `Symfony2` ? Something like this: I want thi

21 May at 08:59

Django Forms: if not valid, show form with error message

Django Forms: if not valid, show form with error message In Django forms, it can check whether the form is valid: But I'm missing what to do if it isn't valid? How do I return the form with the error ...

28 Nov at 20:28

xamarin.forms binding from xaml to property

xamarin.forms binding from xaml to property I am a total newbie with bindings in xaml and I really don't get it sometimes. I have this in my xaml: The binding "IsLoading". Where do I declare/set this ...

18 Sep at 15:28

Obtain current page name in Xamarin Forms app

Obtain current page name in Xamarin Forms app I am currently trying to understand how to get the name of the (xaml) page I am currently into, with my Xamarin Form app. How am I supposed to do it? I tr...

4 Dec at 22:18

HyperlinkButton in C# XAMARIN.FORMS

HyperlinkButton in C# XAMARIN.FORMS I want to create Label with click possibility like in WIN phone xaml Is there a possibility to do it in Xamarin.Forms? I found this but is not the same: [https://gi...

12 Jan at 11:0

Getting form data from HttpListenerRequest

Getting form data from HttpListenerRequest I have a HttpListenerRequest which was initiated from a html `` that was posted. I need to know how to get the posted form values + the uploaded files. Does ...

Formik - How to reset form after confirmation

Formik - How to reset form after confirmation In [Formik](https://github.com/jaredpalmer/formik), how to make the Reset button reset the form only ? My code below still resets the form even when you c...

9 Apr at 01:19

How to make input type= file Should accept only pdf and xls

How to make input type= file Should accept only pdf and xls I used `` Now I would like to restrict this by accepting only .pdf and .xls files. When I click the submit button it should validate this. A...

12 Nov at 01:49

Can I disable the 'close' button of a form using C#?

Can I disable the 'close' button of a form using C#? How can I disable the close button of a form like in the image below? (the image below show a `MessageBox` window) ![enter image description here](...

8 Feb at 10:52

When my C# form crashes it tries to create a new instance of itself

When my C# form crashes it tries to create a new instance of itself I do some rather long winded things with a forms application using arrays and sometimes I address it wrongly during development, ins...

12 May at 20:22

How to use Xamarin forms' Button.ContentLayout property?

How to use Xamarin forms' Button.ContentLayout property? Using the latest pre-release, I noticed that the button now has a Button.ContentLayout property, which I am hoping will allow us to add custom ...

14 Nov at 11:50

TypeScript-'s Angular Framework Error - "There is no directive with exportAs set to ngForm"

TypeScript-'s Angular Framework Error - "There is no directive with exportAs set to ngForm" I keep getting this error while using TypeScript's Angular2-forms framework: > `directive` Here's my code pr...

How do I set the focus to the first input element in an HTML form independent from the id?

How do I set the focus to the first input element in an HTML form independent from the id? Is there a simple way to (input cursor) of a web page (textbox, dropdownlist, ...) on loading the page withou...

1 Jul at 01:28

Prevent users from submitting a form by hitting Enter

Prevent users from submitting a form by hitting Enter I have a survey on a website, and there seems to be some issues with the users hitting enter (I don't know why) and accidentally submitting the su...

17 Dec at 10:23