Form Validation on Group of items - forms

Here is the page: http://hawaiianoptics.com/visa
Customer can only select on product and then needs to select color of that product. Can only select one product and one color. What's the easiest way to do this?
Use a radio on all of the products then do separate validation on the dropdowns?
Thanks!

Related

Select data in Userform based on data selected in filtered Search Form

I have a search form where I can filter my search and list all common items per my search text. I have it where I can double click on the row I need and fill in the test boxes on my User Form, but I need it to also select the same data in the User Form listbox. Is that possible and how would I go about doing that
Any suggestion are greatly appreciated.
V/R
Michael

How can I create a LOV where the user can select as many options as they want (like a series of checkboxes and select all that apply)?

How can I create a list of values (LOV) where the user can select as many options as they want (like a series of checkboxes and select all that apply)? I am only away of being able to select one option as opposed to selecting many, but please correct me if I'm wrong.
"The property you will attach the LOV to will need to be an array. Then in TC you can multi-select more than one value of the LOV."
Source: https://community.sw.siemens.com/s/question/0D54O00007DC6yWSAT/how-can-i-create-a-lov-where-the-user-can-select-as-many-options-as-they-want-like-a-series-of-checkboxes-and-select-all-that-apply

how to change woocommerce quantity field value from gravity forms field?

I've tried changing the value of the woocommerce quantity field from another field using gravityforms plugin with number field and calculations form, but didn't work. How to do it? Please help
In the Woocommerce product, if you have the WooCommerce Gravity Forms Product Add-Ons plugin activated, you can select the form you want to use, then in the Form Display at the bottom, you'll see advanced options. For Replace Modified Items? select Yes, for Quantity and Stock, select Yes, and then choose the field you want to populate the cart's quantity.
The advanced options will look for a number or quantity field to replace the woocommerce product quantity.

How to add 2 buttons 'add to cart' getting with different data in Prestashop?

My product has 2 prices (discount price, old price). I want to add two buttons that add product with different price. How I can do it?
If you need to just show old/discounted price for a product use Specific Prices option in Prices tab of a prodct.
Or maybe you want to do that for a bunch of products.
The standard way to do that kind of things in Prestashop is by using price rules. In this case you may need to create a category like Sales/Offers. Assign all products you need to that category in their Association tab. Then go to Price Rules -> Catalog Price Rules + Add a new condition group (choose category here), create the price rule above based on your needs.

Tableau - Filter View Based on Different Variable

Is there a way in Tableau to filter a view based on its relationship with a different variable?
For example, say I have a dataset with variables Company (values = A, B, C) and Product (values = 1, 2, 3). In one view, I want to select a Product. In the other view, I want to filter to only Companies that have that Product, but I want to show all Products for those companies. The typical filtering approach in Tableau could easily show me which Companies have that Product, but the rows with other Products from the same Companies would be excluded by the filter.
Any solutions? I get the feeling I may be missing something simple.
Create a parameter to represent the product of interest. You can load the values of the parameter from the Product field, but will have to add/remove choices periodically as product list changes.
Place Company on the filter shelf, and use the condition tab to choose only companies that have that Product with a formula such as max(Product = [Product of Interest])
For more than one product at a time, create a set of Products instead of a parameter and change the formula to test for set membership instead of field equality. If you have a set of Products called [Products of Interest], note the plural, the formula is then simply max([Products of Interest])
The nice part about a set is that it notices changes to the database Products list automatically. The bad part about a set is that Tableau doesn't make it easy to add or remove elements from a set in the user interface unless you are using Tableau Desktop (at least not by version 10.1)
In addition to the methods explained by Alex, (if you are okay with having multiple sheets) you can have 2 sheets linked with an Action filter -
First sheet would just show the unique list of Products (this acts as the Source sheet)
Second source would contain whatever view you like to show with Companies and their products (this acts as the destination sheet)
Create an action filter between the 2 sheets and use the "Selected fields" under Target filters to filter using the Company field. This way, if you select any specific product(s) in the first sheet, all relevant companies would be filtered in the second sheet but all the products show up too!
EDIT: this is a good solution in many cases, but there are a few things to be careful about.
Note that the first sheet needs Company on some shelf, possible detail, so that field is available for the filter action. If there can be multiple companies per product, then that can complicate the viz a bit.