I would like to keep my datepicker value and my radio button selection after my page refreshes. How can I achieve this?
Related
I have a dropdown button which works fine when I visit the page(having the button) first time but whenever i revisit the page containing the dropdown button, the previously selected value appears rather than the hint text which i want to appear every time the page is visited.
Dropdown button has a property value where we specify our variable to get the selected value. Before moving to the next screen you can set back the default value to it and it should work.
How can I alert the user whenever the gravity form's dropdown value changed without using ajax?
I tried to change the minimum date based on that dropdown value.
I have a aui form with Liferay.Autofields enabled.
The fields that I am duplicating with Autofield has a button and a textfield. The button click will trigger the datepicker and the selected value should be stored in the textfield.
And, when I click the "PLUS" button provided by Autofield, the fields are duplicated.
First, I need to know how I can bind the trigger event of all buttons to the datepicker. I know to do this for a single button. But since we are using autofield, I need to give the ID of the button with the index. Can anyone suggest how to bind the trigger event in my scenario
Second, once I click the date picker button, I should be able to get index of the Autofield row in which I have clicked, so that I can update my textfield
I want to create a form component that contains radio button along with text field for each of the radio button options. The radio button group component in install4j creates a radio button, however there is no option to create a text field along with it. Basically, I want to give an option to the user to allow him to enter either of the 2 values. Is there any other alternative? The value will be entered by the user and hence cannot use combo box. Please help!
You can use a "Single radio button" form component and "Text field" form component and put them into a "Horizontal group".
In the configuration of the "Single radio button" form component, select the "Coupled form component" tabs and select the text field form component. Then the text field will only be enabled is the radio button is selected.
Then, repeat this for each value of the radio button group and make sure that all "Single radio button" form components have the same value in their "Variable name" properties.
Is it possible to display the list of choices of a AutoCompleteTextField from a button.
(Javascript or something in the AutoCompleteTextField code?)