Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [forms]

The tag has no usage guidance.

1
vote
2answers
98 views

Apply Single Responsibility Refactoring in Form App

I really don't understand the SRP applied to a "real" project (really not so real but can help me to know your approach) I find very difficult to divide and assign responsibility to my classes. So I ...
0
votes
1answer
54 views

What are the advantages of dynamic configuration based form templates?

When developing an application which presents the user with many similar forms for data entry, a common approach is to build a framework for defining the form structure in a standardised configuration ...
0
votes
1answer
43 views

SOA with dynamic forms

When building a Service Oriented Architecture (because the services will be used by automated systems or other consumers), how can I go about creating a simple, dynamic form-based web frontend for ...
0
votes
1answer
213 views

Acceptance testing form fields (with Robot Framework)

What is best practice when writing acceptance tests for a form l without knowing the exact layout of the HTML file? Would it be for example to test that the page contains, let's say an element with ...
2
votes
1answer
772 views

Collecting user input to use as query with API

I'm attempting to collect the user's input and execute a search using an API. At this point, I can use the API (ebay search) by typing keywords into the html document- but I want the user to be able ...
1
vote
0answers
96 views

How is FormData actually handled by a server?

I am using an embedded system with a web server. I really have no way to dig deep into the webserver and see how it works, so I am asking a more general question: How do servers or back-end scripts (...
0
votes
0answers
381 views

One form with multiple fields vs several forms doing ajax requests

I have a group of invoices to send to a back end. The requirement is to be able to send everything with a button, so I can do the following: Send everything as form fields name like ...
0
votes
3answers
722 views

What is the best way to go about storing application options: file system or db? [closed]

We are looking to find the best way to store user options (skills, degrees, industries, languages, etc.) for drop downs. The options are between a JSON file we can store on the server file system or ...
1
vote
1answer
163 views

What pattern to use when you have to hide/show different sections on a form depending on a dropdown value?

For example, let's say you have 8 sections to hide/show and depending on the value of a dropdown, you have to show or hide dynamically from 1 to 8 sections. 1) Is there any better way of doing this ...
2
votes
1answer
118 views

Techniques for fitting multi language labels on forms

I am building a multi language website on ExtJS, where I have covered all the technical aspects of the multi language aspect. How would deal with different string lengths? Lets say I design a 160px ...
8
votes
3answers
1k views

How to model the dependencies between fields in very complex forms

We have to create a web application that will be used as an application form for multiple insurance products (15 in total). This application form will be similar to a form wizard, it will span across ...
0
votes
1answer
132 views

Storing Form Data in a class

I have a form that writes to a database. Other than creating a class handle an external API, this project is done. However, the processing script is your standard procedural calling of queries using ...
3
votes
2answers
1k views

How to build configurable forms?

I'm working on two separate projects now that are essentially just CMSs -- a bunch of forms for recording various bits of information. Each project is built to serve many clients, and each client ...
3
votes
5answers
565 views

Web programming, standard way to deal with a response that takes time to complete

With normal form submission I use the pattern Post / Redirect / Get, when processing the forms. I have a database application built with Django. I want to allow the users to select a number of items ...
3
votes
4answers
3k views

Web App vs. Desktop App Regarding Deployment

I'm taking on an opportunity for a local business to develop a small, simple timesheet manager (they still record time by hand) and am currently in the planning phases. It will include basic ...
13
votes
2answers
3k views

Should a RESTful API provide data for an entire form?

Let's say I have a JavaScript web application which entirely uses a RESTful API for data. Let's say this application has a data form, and let's say I'm editing a record at /product/12345. When ...
5
votes
1answer
2k views

Is there an effective way for creating complex forms?

While creating a 'search' form I've been faced to an overwhelming complexity and I was wondering whether there is a well-known way to accomplish such task. Fields of the form in question can be seen ...
3
votes
5answers
1k views

Dynamic Forms: Pattern or AntiPattern? [closed]

I'm sure you've seen it. The database has a bunch of tables called Forms, Controls,FormsControls, ControlSets, Actions and the program that queries these tables has a dynamically generated user ...
2
votes
4answers
313 views

Making simple forms in web applications [closed]

How do you work with forms in your web applications? I am not talking about RESTful applications, I don't want to build heavy front-end using frameworks like Backbone. For example, I need to add "...
2
votes
3answers
1k views

Validating allowed characters or validating disallowed characters

I've always validated my user input based on a list of valid/allowed characters, rather than a list of invalid/disallowed characters (or simply no validation). It's just a habit I picked up, probably ...
45
votes
19answers
6k views

Form screenshot for legal proof of clicking one of the checkboxes?

We got a request from one of our customers, and since I've never encountered such a request before, I don't even know where to start looking. Our customer is a network of colleges, and we're building ...
-1
votes
2answers
817 views

why use a form object when you can get needed data from view object's html?

I am working with server side code. I have a request object that handles request data validation and filtering. I have a view object that uses template files to generate html for output. the ...
1
vote
1answer
150 views

What is the best way to provide downloadable / uploadable forms?

I need to allow some of my users to design and upload blank forms, to be downloaded, completed, and uploaded by other users. It would be nice if I could verify the completeness of the uploaded forms, ...
0
votes
2answers
254 views

Looking for the fastest way to collect form data

I am developing an application in Flex. There are 20+ 'pages', each with its own form. I need to collect all the entered data and pass it to an API method. What I am wondering is when I should begin ...
12
votes
5answers
1k views

Why do Windows Forms / Swing frameworks favour inheritance instead of Composition?

Today a professor of mine commented that he found it odd that while SWT's philosophy is one of making your own controls by composition, Swing seems to favour inheritance. I have almost no contact ...
6
votes
2answers
5k views

Should I use a Class or Dictionary to Store Form Values

I am working on a C# .NET Application, where I have a Form with lots of controls. I need to perform computations depending on the values of the controls. Therefore, I need to pass the Form values to a ...