Autocomplete Chronoform in Joomla 2.5 - mootools

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

Related

Looking to make an HTML form with and edit field connected to a list

I would like to preset an HTML page that has list box (scrollable) that is connected to an edit field. Every time the edit field is updated the list box should show only the items that match the text pattern in the edit field.
Am sure it's possible but not even sure what it's called and all my Google attempts have failed.
Thanks
For anyone who comes across this same question, the term that I was looking for was "creating an autocomplete form."

DOM - Select Value from a Field that has a Search Component and a Drop Down

I have been working on this forever. I have attached a first picture of the steps I am trying to do in VBA. This particular field that I have having trouble populating for a client of mine appears to be a drop down but when you click it, it has a search field. I know the option value I want the field to be set to but using doc.getElementbyID("id_referrer").selectedIndex = fieldValue is not working. See the first picture for the steps of what I'm trying to do, then the second picture for the behind the scenes look at the classes and then all the different commands that I've tried to populate this field. The save button works, but nothing ever is populated for the Referrer or it bombs.

Subform Table Source Show all records

I'm creating an Access database for data entry, so I put together the form shown in the image below. It works great besides one problems I'm having that I can't seem to nail down.
I want to create a form that navigates by hiding and un-hiding subforms when clicking the buttons in the top bar. The subforms themselves are linked directly to the table (not a form, but the table itself). I did this in order to have an easy way to enter multiple entries in an excel like fashion that the users are familiar with. Entering the data works fine. Closing the form and re-opening it however causes the subform to show each individual record and the record navigations must be used to cycle through each one.
The intention was for the records be shown in the same fashion as if I just opened the table. Is there any viable way to accomplish this?

Access 2010 Dynamically Add textboxes

Hello I am trying to create a Form in Access 2010 with dynamic controls.
On the form there is a list of textboxes for entering information.
However I would like the ability to click a button to dynamically add more textboxes to the form on request. (This is because I am not confident with a set number of text boxes as the information entered at one time could vary)
The problem is that digging around it seems the only way to add controls to a form is to open the form in design mode and add the controls, and when design mode is closed the user is prompted with a dialog asking them to save the changes made in design mode before the form can be reopened in normal mode.
Is there any way to solve this problem or would a workaround be needed (like a large number of hidden textboxes already present in the form? )
"...like a large number of hidden textboxes already present in the form..." -- I don't consider that a work-around. It's your best solution.
It does require the form to be opened for design, but VBA does facilitate these in-use changes.
Your question sounds strange...Controls for what ? Do you also plan to add fields to your db on the fly ? I hope not because then you have a serious design problem.
Otherwise, with the few details you provide, I would think the way to go is very simple: use a "continuous" subform like explained here.

Does Microsoft Access allow this function?

Does microsft office access have this function when i select the row from the subform,
the selected data from EmpName, ComputerName & ProductName will automatically fill into my 2 textbox at the top right and the product Name will be another combobox to select product.
Another thing is, Is it possible to do CRUD upon selection in subform?
what kind of tag should i goggle for to answer my question? I tried a lot of different tags aldy but none answers my question.
The short answer is yes. ;) You can do all those things. I well remember the day I realized that I could do anything in MS Access. (now be kind this was the first experience I had in programming)
You can reference Parent controls from subforms with this convention Me.Parent.control
For example if the Parent form has a text box named txtEmployeeId then on the Click event of a text box in the sub form you could have this code.
Me.Parent.txtEmployeeID = Me.txtEmployeeID
You can quickly extend this code to do whatever you need ie.
Me.Parent.txtComputerName = Me.ComputerName
Me.Parent.cboProductName = Me.ProductName
CRUD is a statement used in web development which seems to be where you are coming from. Access is CRUD in many ways (unless you start getting complicated) In the example above, once you navigate off the parent record with the record selector or close the form, the record is saved without any code being written. Once you start playing around with unbound controls then it becomes necessary to write code to save your work.