Questions tagged [forms]
The forms tag has no summary.
30 questions
1
vote
2
answers
103
views
Is it okay to store ambiguous address information in localStorage?
I have a decently sized registration form that will require some PII data, as well as some obscure shipping information. I am working on best UX practices for input repopulation considering the time ...
0
votes
0
answers
332
views
Handle multiple buttons with different API IDs in a HTML table
Ok, so my scenario goes like this: I am building an API of financial transactions. Backend does not matter for this problem, the only thing is that the API has a route /users/:userid/transactions/:...
1
vote
1
answer
556
views
Building a form based on json object?
I'm currently refactoring an older legacy application and use React to rebuild some of the former functionality. This application has a form which has +10 different input fields. The aim is to kind of ...
2
votes
0
answers
121
views
Where to store the state of a complex form in React?
Let us consider a complex form of registering a driver and owner.
The driver will have all these fields:
driver = {
firstName: "xyz",
lastName: "abc",
phone: "1234",
email: "[email protected],
licence: "...
1
vote
2
answers
130
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
1
answer
145
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
1
answer
81
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
1
answer
565
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 ...
4
votes
1
answer
2k
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
0
answers
386
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
0
answers
411
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 form1_detail_text
...
0
votes
3
answers
1k
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
1
answer
183
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
1
answer
167
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
3
answers
2k
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 ...