Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

custom field value ajax update

$
0
0

How can i change value of a custom field based on a selection from another custom field?

The situation is as follows:

I have got a custom field with three options : yes, no , pending

After i have selected an option , a value should be inserted into another custom field.

So, if i select "yes" my other custom field should display value 1
If "no" it should be value 2 and "pending" should leave it blank (or unchanged)

Aforementioned action should happen when i edit existing post.


Viewing all articles
Browse latest Browse all 20145

Trending Articles