With Gravity Forms, how do I make a form entry count as 2 entries based on a boolean? - forms

I'm working on an event registration form with Gravity Forms. The event needs to be limited to X amount of registrants. Gravity Forms gives us this ability under the "Form Settings > Restrictions > Limit Number of Entries" section. As expected, each form filled out counts as 1 entry.
However, this form also has a "Bringing a Guest?" boolean (Yes or No radio buttons). If "Yes" is selected, I would like the form submission to count as 2 entries. How can this be done?

Rather than using Gravity Forms built-in entry limits, you might consider using a snippet I wrote which adds support for inventory to your Gravity Forms fields. More details on the other side of this link:
http://gravitywiz.com/better-inventory-with-gravity-forms/

Related

How to dynamically filter based on different column in tableau?

I have two columns site and Profit catgeory.
Site --> A, B, C
Profit Category --> 1,2,3 [ It will be calculated dynamically, when data changes]
Data:
I want to filter site based on profit category.
Workbook:
If I select Site A in filter option, it hsould display all the sites which is in same Profit category as Site A. If Site A falls under Profit Category 1 means all Sites wchich falls under Profit Catgeory 1 should be dispalyed.
I am struck with this. Please help me to solve this.
You need to display a parameter control instead of a filter control.
Parameters are used to hold the (single) response from the user for making a choice. You can reference parameters in many places, including calculated fields. You can then use calculated fields as a filter.
You can combine these features in different ways. In your case, I suggest creating a parameter based on the Site field. Showing the parameter control and allowing the user to select a site. Then building a boolean calculated field to determine whether a record should be included in the analysis or not based on the selected site and the data values in the current record.
Filter on that calculated field and you should be able to get the effect you described.

If it's possible, is there an option or other way to change a "Sublist Field" column's display type within a transaction form in NetSuite?

I need to change two columns in a Sales Order's item line section (bottom of the page) in NetSuite: https://i.ibb.co/27vx9Dr/2019-06-20-10-41-13-Window.png
It feels like the solution ties these two together as they are both perceived as item line fields or "Sublist Fields" (according to NetSuite's customization form page).
INVENTORY DETAIL needs to be enabled or set to "normal" so I can be able to specify bins associated from my selected item or be able to interact and fill in this column at the basic level.
AMOUNT needs to be set as "inline-text" so that other people handling sales orders cannot disturb it at all and still be able to see the value of this particular column.
I have attempted to search through Customization > Lists, Records & Fields and searched the following options: (which I thought were relevant to the fields that I wanted to modify)
Item Fields to no success
Transaction Body Fields to no success
Transaction Line Fields found out that AMOUNT and INVENTORY DETAIL are both padlocked
I also attempted to search through Customization > Forms and I have spent a long time looking through my Sales Order custom transaction form (possibly missing out on menus unintentionally) to no success.
I know that inside Customization > Forms > Entry Forms there is an Inventory Detail form in there that shows exactly the window I'm expecting, but I haven't figured out how to customise anything in the columns item line for transaction forms yet so I can create a custom column containing a link to INVENTORY DETAIL simulating the typical behavior of the original one while hiding the disabled one.
Near the top of a Sales Order form, I went to Customise > Customise Form and found out that I can find both AMOUNT and INVENTORY DETAIL inside the Sublist Fields tab.
Unfortunately, it only has SHOW toggles and this does not do what I need for it to do.
It is clear that I am confusing Sublist Fields with Screen Fields where I expected there would typically be a DISPLAY TYPE column that bears the drop-down selections containing "Normal", "Inline-Text" and "Disabled" options.
In actuality, they have SHOW checkbox toggles for both INVENTORY DETAIL and AMOUNT where the AMOUNT checkbox is greyed out. (This still does not achieve or reflect what I need it to do)
I am unaware of the conditions that needs to be met for AMOUNT to behave as an inline-text. There is probably another condition that needs to be met for the INVENTORY DETAIL column to be made available somehow.
I admit that I missed something crucial, so please kindly mention about it.
Any help would be greatly appreciated.
I was able to create a new column by creating a Transaction Line Field that contains two separate fields which are applied to Sales Orders.
For the INVENTORY DETAIL, I went to Customization > Entry Forms and copied the link for "Standard Inventory Detail Form" and then produced my own HTML code inside the Default Value when creating a new Transaction Line Field.
For AMOUNT, I created a new transaction line field and then set the Default Value as the appropriate value found in https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2018_1/schema/record/billingaccount.html and I used the curly bracket notation {} to fetch the data for the edittable AMOUNT but changed the Access to View-only, which makes this exactly what I needed.
After previewing the changes into an existing Sales Order, I can see my results reflected as expected. Consider this question solved.

Deleting invisible/unused input fields in Orbeon form

We have the following situation:
We have one form (we’ll call it “first form” for easier reference) which, among other things, contains dropdown select-box from which the user has to select a number from 1 to 10. Based on the number the user has selected (e.g. 5), on the separate form - on a different page (we’ll call it “second form”) we show that many number of sections as visible (5 new sections in our example). For each of the 10 sections we have defined visibility condition through XPath expression which returns true or false based on the number the user has selected from the first form. Now, because second form contains all 10 sections it shows all of them in the DOM, but in our example only 5 are visible on the front end.
So the question is: Is it possible to have the 5 additional sections not render in the DOM structure at all and if it is, how to achieve this?

Access Subform SUM() Displays #Error for calculated field on main Access Form

I am trying to calculate the Grand Total for my Order Items on my main order form using the SUM().
It displays on the subform itself but errors out on the main form.
I find it hard to figure out where I went wrong after many days and my Acces skills are really beginner.
Solutions suggested in the link bellow have not solve the problem.
=SUM([Quantity]*[Price]) or =SUM(NZ([Amount],0))
OrderID is the PK in the order form and orderDetailID is the PK in the Order Details form.
Any Help would be highly appreciated
MS Access Subform with fields with #Error in form view
I am using Access 2013 on Windows 10.
Reviewed your db posted in other forum. You must have made some changes because I don't get the behavior you describe. The only time #Error shows is when there are no records in the subform. This should be expected. Instead of showing the subform total on the main form, could just have the sum show on the subform. With the mainform/subform in Form view (not Design view), click into the subform then click the Sum (looks like Sigma) button on ribbon. This will open the Total row on the subform. Or set the subform for Continuous and arrange controls to look like Datasheet.

Gravity form show form dynamically

my question I'm sure is a simple one but one that I am completely stumped on.
I have 4 gravity forms say, ID1, ID2, ID3, ID4.
I want the user to select from a dropdown which area they want. There are 4 areas. So if they choose Area 1 in the drop down,I want gravity form ID1 to load dynamically below the drop down.
If they choose area 2, then gravity form with ID2 loads etc. You get the picture.
Is there a very simple solution to this please?
Thanks
Depending on what your forms are - I would simply make one form with the 4 forms in it that display VIA conditional logic. The first thing (and only thing) you see is a drop down to choose options ID1 to ID4 and then based on that selection the conditional logic allows the parts of that form to be displayed.