Update interface items based on values entered in text fields

Hi, community,

I'm trying to create a user imput interface, which has text fields as follows.

<Customer Info>
#1. Company name
#2. Industory
#3. Contact Person's Name
#4. Phone number

Update interface items based on values entered in text fields

I'd like to update "contact person's name" and "phone number" based on the value which entered in the "company name" and "industory" field.
All items are stored data store entity, customer.
Is there the best practice to fetch the date from data store entity to the interface field?

  Discussion posts and replies are publicly visible

Parents
  • Just checking my understanding...the data already exists in a database table? So let's assume I have a Company Name called "Burchell Reality" and an Industry called "IT Consultancy" and I entered those values into the first two fields then it would fetch, from the same database, an existing "Contact Person's Name" and "Phone Number"? If so, this is in effect a 'search' and you'd be better off exposition your data as a list of records. If what I've described is not correct can you elaborate some more please?

Reply
  • Just checking my understanding...the data already exists in a database table? So let's assume I have a Company Name called "Burchell Reality" and an Industry called "IT Consultancy" and I entered those values into the first two fields then it would fetch, from the same database, an existing "Contact Person's Name" and "Phone Number"? If so, this is in effect a 'search' and you'd be better off exposition your data as a list of records. If what I've described is not correct can you elaborate some more please?

Children