I have a question please.
I have one component where i declared two tables, and I'm calling this component from another one.
When i call it i want to display just one table and hide the other without any button.
Any help please
Im expecting to display just one table
Related
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
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.
I am using flash cs5 with Action script3. The user enters the number of rows and columns into two textinput components and clicks submit button. Then a empty table like structure should be displayed with the user specified number of rows and columns. How can I achieve this?
Thank you.
You will need to Google "Grid Layout with Action Script". You basically will need to create the Grid Layout object and then add child.
There are quite a few references out there.
I jus Want to know, how could be possible to create Dynamic Components in Flex run Time.
For eg: creating a combo box with change Handler Dynamically, text box Dynamically,
Now, the value of combo box and textbox should place in a VO Class and the VO class also to be created Dynamically,
user have to provide how many fields they need and wat are the components needed and according to tat Dynamic VO has to Create in run Time,
Hope This is clear,
kindly suggest me a Example, Thankxxx in Advance
To create Dynamic class is tricky.
As per your requirement you want some combo box with change Handler, text box, etc.
Once you know what component you have to display according to vo which is been created dynamically.
You can create One custom component which contains your all required component (i.e. combo box, , text box, etc. )
or
Can create different custom component. Selection is yours.
There should be one parameter/condition, which will decide which component should be displayed at run time. Like adding switch case or your own logic.
While creating combo box you can add addEventListner in actionscript to handle change even and can dispatch custom event or can perform your defined operation.
In the same way you can addEventlistner to your custom component (ex. – text box, checkbox, etc.).
There should be unique key for all if user want to create combo box unique key should be 1(sample/any dynamic value can be retrived from VO), text box unique key should be 2, etc…. it will help you while creating dynamic component.
Make sure while creating component you have to use concept of set and get method for passing parameter.
Create only required component by using proper Flex component life cycle.
Hope this may help you bit as rough understanding.. or can search for better approach..
I am stuck when it comes to adding more than one search element. I can get 1 search element to work using the Fusion tables layer wizard but any others added don't function? My website is called earthquakedamagemap.com. I'm trying to build a similar search function to that of newspapermap.com
It is my university project. Any advice would be much appreciated!
Try changing the id of your second select menu to search-string1. Then, in your changeMap1 function, pass 'search-string1' to the method document.getElementById().