The issue here is that it just "adds" the information it don't "set" the value.
What i like here is that it does "clear" the already selected elements and then "set" the new information. It just need to overwrite/replace the current information with the new one.
How can i do that.?
And can i do that when i have selected the "allow multiple values"?
I want to force update this field : https://take.ms/9fV1A so that we always have the current set by the "script"
Question
Cassim
Hi,
I have this little function here
setFeature($obj->id, 37, $meta->Platform[0]);
The issue here is that it just "adds" the information it don't "set" the value.
What i like here is that it does "clear" the already selected elements and then "set" the new information. It just need to overwrite/replace the current information with the new one.
How can i do that.?
And can i do that when i have selected the "allow multiple values"?
I want to force update this field : https://take.ms/9fV1A so that we always have the current set by the "script"
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now