Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Auto Complete based on C/V field


This topic is 6376 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Sorry, another conditional value list problem. : After days of searching for an answer I need some help. I have managed to create a conditional value list whereby listB is restricted to items by ListA.

What I need to know, there are two further fields, (attributes), that I want to auto complete based on the field information selected in ListB. I have tried selecting these fields to auto complete but they don't work.

sample.zip

Posted

Hi Ghost,

Are you sure you've got your terms right?

Do you want them to fill in by themselves, provide the user with a list to choose from (which has been narrowed down by selection of the style name / code) or do you want it to just predict what the user is going to enter based on what has previously been entered into the field?

Posted

Hi Genx,

Thank you for your prompt reply.

If you check the products file, you will note that every style code only has one screen print and colour associated with it. By narrowing down the "order" we use firstly the style name, then the style code, the remainder of the attributes should automatically be inserted as they pertain to only that style code. They will not be editable, at least not in the portal. Seems so easy, but I fail to get the other two fields to complete automatically.

Hi Comment,

Thank you for your file, but alas, it isn't quite what is required. I already have a lookup for the price. I tried a look up with the other two fields but it doesn't give the correct attributes. Seems to work easy with a price lookup, but in a portal, for text it doesn't happen. With your file, if you associated two other unique attributes to the product before the price, place it all in a portal, and try and get the other two fields to automatically complete after selecting the first two conditional lists.

Sorry if I sound a little long winded.

Posted

Hi Genx,

Seems so simple, However, although that does the trick for the portal, it doesn't update the consolidated file now because the order ID relationship has been deleted. I even tried just adding the extra relationship but that doesn't work either. :

Posted

Add another table occurance of products called Products_2. Keep your original relationship as it was. Between Mens and Products_2 add the relationships style = style code. Source the two fields in the portal from Products_2 not products.

Posted

Cheers Genx. This works fine.

(Just seems silly to keep having to add table occurrences though).

Many thanks for your help. I am sure I will be posting more questions in the future.

Posted

Don't be afraid to add TO's where they are necessary. They don't hurt, they don't blow up your size and are normally more efficient than other methods... But don't over do it where it's not necesary either :

Posted

They don't hurt, they don't blow up your size and are normally more efficient than other methods

If your scripts gets cumbersome to trace the flow in, is the above advice usually the real answer to the problems the script seeks to solve... :thumbup:

--sd

This topic is 6376 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.