Form Table Style - html

Good Morning everyone.
I'm working on a html page where i need a form similar with the one from the image. It will start from one section of fields and using jquery i will add more and more as needed.
My problem is that i'm not sure how should i design it, i'm thinking using a div that will hold three input fields and from there when i press tab key another div should be added using JavaScript.
I need an advice or example how should i do it.

Related

Templates are rendered as editable to users

I started to work on this project which uses django volt dashboard.
The problem is I can edit all the data in the navbar, sidebar and tables.
This is the table present in the original template we have used
Current state
Morover, I can't nagivate to other sections as well. The mouse pointer becomes a I-beam pointer for every dawn UI element.
Literally everything is editable (tables,navbar,paginator)
I tried to put some random values in the tables instead of fetching the data from DB.
Still the problem persists.
I can't wrap my head around this.
Please give me some insights on where it is going wrong?

Jump to specific field when a multiple choice radio button is selected in Gravity Forms

is there an option or maybe a small custom code to make Gravity Forms radio buttons jump to a field on selection?
In my example, i have a list of 14 options. Using a condition logic when you select one option a custom HTML is revealed right under each and every option. For desktop is super ok, the screen is big and all fit well. The problem is for mobile devices because you select an option but after that, you have to scroll to see the custom HTML.
Is there any option or custom code snippet in Gravity Forms that jumps to that custom HTML when an option is selected?
I found some resources on how to make this using HTML code with ids but this is somehow dynamic though the HTML code is placed in the same position. My first idea was to add the same ID to each and every HTML code so that when a radio button is pressed it scrolls to that ID. Don't know if it makes sense but ...
Can someone help me with some resources or give me some hints? Many thanks.

Displaying image content types as grids in drupal 7?

I am currently using the Views and Display Suite modules to create a page that works as an image gallery. You click on the menu button to take you to a page (the view) that has multiple links to nodes (individual galleries).
When you click these nodes, they take you into the separate page and show all images uploaded using the "event" content type that I made.
The event content type has one field (type: image) that uses a multiupload widget, allowing for multiple file uploads.
However, the images on the node are displayed within divs, so they all have their own rows basically. I would like to know if it was possible to put them all into grids, and if so; how? I tried using display suite, but I only have that one field to work with.
If you want to get a fully customized page and arrange the fields just like you want, use the theme suggestions.
For a node of type "event", as you said, it would be node--event.tpl.php. You can duplicate the code inside the base template node.tpl.php of your parent theme (or if you don't have one, of Bartik for example) to have a good starting material.
Just rearrange the div, the tags, the variables as your convenience, add some custom CSS to make your grid, and you should be done!
I hope it helps.

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

Is it possible to make a HTML chart modifiable?

im totally new when it comes to trying to make HTML code. I was wondering if its possible to make certain rows/columns in a HTML chart modifiable by random users that view the page.
And if so is it possible to make it so that once modified they click a button and it changes some other rows like a calculator does, based on what i have preset (numbers)
hopefully that makes sense...
thks
btw im using a Google site i made
You can use <input> elements for allowing people to input text, and javascript for any computation involving their contents, or for changing what's on the page.
See https://developer.mozilla.org/en/HTML/Element/Input and https://developer.mozilla.org/en/JavaScript for more info on each of these.
HTML tables are columns and rows of static data, not modifiable. One solution would be using javascript and do an .onClick method on each <td>. That method would convert text in to something like <input type="text" name="cell_x_y" value="original_value" /> and then another method which would handle ENTER key or leaving that text field and would submit value to server.