Provide editable functionality for fields in a webpage - html

I have a web page showing multiple fields and a button for each of the fields which are editable.
As an example a page is showing name, age, address, nationality,salary and gender out of which say address and salary are editable. There are 2 update buttons at the bottom of the page namely
update salary
update address
Clicking on each of these buttons opens a form for the necessary edits. I would like to move the edit next to the displayed field where ever applicable and show it as a pencil. This way the page will look less cluttered when multiple fields are editable.
Any suggestion as to what can be used? I have bootstrap 4.x in my project but not sure what to use from here as I have some basic idea on Bootstrap. The project is based on Angular.

Related

Is it possible to have autofocus on two input fields in the same page?

I have one form in the header of a website, and the same form in a side area (that slides out) in the same website. Is it possible to have autofocus on both input fields. When I do this, both won't show up the cursor, but when I only add it to one (the header form) it works fine. Any tips would be much appreciated.
Yes, but you need more than 2 forms in your page, and while one form is visible other one should be hidden.
E.g. User name and password are in 2 different forms. First you will enter username, check in DB whether Username is correct, then show the other form, and the password field will be visible.

Form layers for fields in Access

A very simple problem to which I cannot find a solution:
I have a form with 2 (will be more in future) pages. So far I have completed the first page (Main) and now I'm about to do the second page. However, some fields are showing up on both pages.
How do I "anchor" the fields to a specific page so they don't show elsewhere?
Just make sure you have pages of even height, and set for the form AutoSize to True.
Also, hide the vertical scrollbar and implement your own paging control.
1) Go to Design View
2) Cut out the fields (ctrl+X) which are in wrong place
3) Go to sheet property and manually select the desired page location
4) Insert the fields there (ctrl+V)
For some reason it didn't work for me in any other way (ie. I couldn't select my page with a simple click on the page itself, I had to select it through properties).

Autocomplete Chronoform in Joomla 2.5

I'm creating a simple form using Chronoforms, but so far I haven't been able to solve a small problem.
I would love to load two or three fields in a search done by the autocomplete element, i currently have two autocompletes working, but i can't seem to be able to load the other values into the corresponding textboxes.
I'm including the link to the form
http://cfobb.ca/index.php?option=com_chronoforms&chronoform=nomination_form
and as it can be seen, the first two fields in the first tab are working autocompletes, but i would love to have them linked so when the user chooses in any of the two, the other automatically gets filled. That selection would also trigger another sql query (that i already have, nothing fancy) that would fill the School Name drop-down menu. Also there's this code in the help tab
$form->data['_PLUGINS_']['autocomplete_processor']['result'];
but i don't really know how to use/handle it
Thanks

Best usabilty with an editable data grid and other form fields on same page

I am creating a page and the page has an editable data grid (I'm actually using jqgrid). The user can add, delete, and edit the rows of the grid. There are also some other form fields on this page such as text boxes and drop downs, but they are not part of the grid.
From a usability perspective which of the options do you think is best and why?
User manages the grid separately from the rest of the page. This means that there is a save button on the grid. So the user can save a grid row to the db without clicking the submit button. When the submit button gets clicked, the non-grid form fields get sent to the server.
user manages grid and other fields dependent upon each other. This is like an "Everything or nothing scenario." When you click the submit button, all of the form fields get submitted an saved the db along with the grid fields. If there is a validation error, nothing gets saved.
If there is a better way to handle this type of situation that I did not list, please let me know.
What I was thinking when I was in a similar situation, is how important it's that the user fills the other form fields. If they are optional and the grid is more important I would have the submit button in the grid but if I want the user to fill all the fields, the button should be at the end. In the case where the button saves the whole form, you can have a type of warning if the user skips some fields or you can have a deactivated button.
The second thing I thought was the height of the page. If the button hides 'above the fold' there is a high posibility that some users won't see it and the data won't be saved. So in that case, maybe you should have it in the grid. I would check analytics about screen resolutions.

Weird site problem with back button

We have a site with a credit card entry form.
The user will enter their information and click submit. This then goes to a thank you page.
On a ThinkPad laptop running IE 8: If the user clicks the back button (from the thank you page) then it takes them back to the credit card entry. However, the fields for Name on card, card number and the first line of the address are not there. (ignore for a moment that the page shouldn't be cached..) I have other machines running IE 8 and 9 that do not exhibit this behavior.
I don't mean that they are empty. I mean the input fields are flat not there. The expiration date, city, state and zip input boxes are there. Just not those listed above.
Any ideas on what could possibly do this? The fields themselves are always visible and there is absolutely zero code to hide them.
My client says that it happens on other forms in their site as well. The main site is a joomla application that uses an iFrame to show the forms from my app.
I have no idea on where to even start with this one.
Yes, we need a link to troubleshoot. All I can say is likely to be some conflicting css hiding it. Use the element inspector and take a look at all the properties on the fields.