Set a field value based on another field value

  • jayrigby
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0

jayrigby created the topic: Set a field value based on another field value

I have been across the forum and couldn't find an answer so I thought I would ask the question. Im sure it is a simple one.

I have a textfield (town)

When town = someTown I want to change the value of another field (townID) to be a unique value e.g. townID=someTownID

e.g.

town = someTown

townID=1234

town = someTown2

townID=5678

town = someTown3

townID=ABCD

etc.

ideally it would be actioned on change of the town field.

Thanks!!!

Jay
#234519
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 1938
  • Karma: 67
  • Thank you received: 234

mihaela replied the topic: Set a field value based on another field value

Hello,

I have answered on the ticket that you have created regarding this same topic so please take a look there for the answer.

Let me know whether it works as you wanted.

Regards,

Mihalea
#234521
The following user(s) said Thank You: jayrigby
Moderators: ForumSupporttomeperica
Time to create page: 0.059 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here