Jump to content

Auto complete field value


Martinus
 Share

Recommended Posts

Hi,

Does anyone know if it's possible to have a 'field value' auto-completed after updating two other fields (in the backend)?

Example:
I have three fields named Food, Drink and Menu.
I give Food a value of Frites, and Drink a value of Fanta,

then the Menu value will be filled in automatically with the value of an amount to pay.

I could not find info about that. Hope it exist.

Link to comment
Share on other sites

I have found Concatenate - from 2015 @ryan and do't know if this is for my purpose, but I am afraid installing it because of the message: This module does not indicate compatibility with this version of ProcessWire. It may still work, but you may want to check with the module author.

Maybe not even for me since concatenate just adds the fields after each other? I would end up with 'Frites Fanta'?!

Link to comment
Share on other sites

It's a pitty no one knows, but maybe I also was in a thinking blib.

What I mean is, I can write a value to the field Menu as soon as the page opens the template calculates Food x Drink = Menu.
My thoughts where, if it affects the speed to much. Instead why not write to the field without even opening the page? But that was wrong thinking.

Sorry for opening this thread 🙄

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...