I am trying to set up a drop down in Gravity Forms based on information the user entered . For example, I have three "Single Line Text Fields", once the user gets to another part of the form, I want the user to select one of the choices they entered on these three "Single Line Text Fields". To give you a better visual, say they entered Lemon for Text field 1, Orange for Text field 2 and Apple for Text field 3, how do I make it appear on a Drop Down later on in the form they are filling (same page)? I know that I have to enter a Parameter for each of the Single Line Text Fields, but what code do I use for this? I am bit confused about some of the code they provided. If anyone could let me know or point me in the right direction, I would greatly appreciate!!!!
Gravity Forms Populate Anything's live merge tags can handle this. Here's what it would look like:
Happy to answer any questions!
Related
I've two fields on account form, one is two option(checkbox) and other is text box. As par my requirements, I've to not show the label of the checkbox but show them as simple fields without caption. I am done with it but stuck in a problem that it create a huge space between two fields, as shown in following screenshot. I would like to hear from your side to resolve this problem.
You could try this:
Set the tab to two columns, settings the first column around 5-10% (experiment with the value)
put the checkboxes in the first section, the other fields in the second one
set the first section to have 1 pixels for label width (instead of default 115)
I'm not sure how it would turn out, and would probably need some tweaking (to account for different form/window widths) but you might accomplish something close to what you need.
Another approach would be to build a custom HTML webresource, put it in an IFRAME as the only form element, and rebuild the form from scratch as you like... but it's probably best left as a last-est resort
You can convert the section from 2 columns to 4 columns, span the textbox field to 3 columns. This will reduce the checkbox field columns to 25% and textbox to 75%
This is the maximum we can do in supported way.
Scenario, I have a field with 20+ possible values where the user needs to select 1, if I render all 20+ the screen scrolls up degrading the user experience.
Ideally, I would like to present 10 items at a time and an extra button so the user can select "more" or "next"/"prev", does anyone have a reference implementation on how this can be done in formflow?
(I guess it involves some validation and reprompt logic where I update the underlying values for the selection but I'm not sure how to go about it)
Thanks
I have not tried this specific scenario, but I can think of two ways to do it.
You could split your field into two fields, i.e. one which has an
enumeration of the first 10 and a "more" choice and then a second
field with the next 10. The second field would be conditional on
the first field having a "more" value. This is the simplest method.
The second way would be to make use of PromptAsyncDelegate and ValidateAsyncDelegate. The PromptAsyncDelegate would split up long lists of results to add a "More" button. You would write a ValidateAsyncDelegate which on "more" would return a ValidateResult that says the value is not valid and which has a FeedbackCard in it with the second batch of buttons. You could either build it in the code or you some private state to pass the extra buttons.
Please let us know which approach works best for you.
I have placed an embedded view in a Form. This view is supposed to display all documents related to that form (Registration No.). I want the view rows to be filtered based on a key (Registration No.). I assume i have to write some lotus script code, as we normally do through lotus script by using like view.GetAllDocumentsByKey("key",True) but don't know how to do that for embedded view. Please help!
Thanks
You do not need to use LotusScript.
You need to use the "Show Single Category" option for the embedded view.
You also need to use the Registration No. as the first column of the view, and sort it Categorised, Ascending.
To be extra sure, add an extra character or two to the end of the Registration No (e.g. reg_Number + "##") and also add that to the formula for the Single Category when you embed the view.
This will prevent the view displaying documents for registration number 1234, when 123 is required. This should not happen, but sometimes does, so the "##" is a useful delimiter to prevent it.
Look at the help document entitled "To show a single category in embedded views"
In the picture, it shows my problem: I need to display the values of a column from a table in apex. Currently all the values are being displayed as a text field. But, I need to display only a few as text fields and others as just a display value without allowing someone to edit it. I've been looking into it, but I'm stuck.. There is a conditional display area, but not sure if that is where I need to go for the solution. That section seems to just limit what values get displayed not change the display format based on the values, but that latter is what i need. Thanks if you know or can point me in the right direction!
In the Item properties , go to advanced section
in custom attributes mention readonly=’readonly’-- this will make that item as display only.
hey all..
i want the user to enter a set of data such as "name" and "age" and correspondingly send it to the person bean. But the user can choose to enter any number of person's data at 1 go.
What control at GUI would be suitable for achieving this (keeping in mind i am developing the application in stuts2).
Thanks;!
There isn't going to be anything definitive. Just hand roll the solution with your favorite JS library. Adding struts2-json-plugin will probably help.
I had created something very much like what you are looking for... It was a two column table where you typed in a user name into one field, hit tab, then typed in the second field. There was one button at the end of the table, so hitting tab once more and enter added the current fields to the DB and added a new row to the table and positioned the input into the first field. It allowed for smooth data entry.