Jump to content

save value to autocomplete page field


sakkoulas
 Share

Recommended Posts

Hello,

how can i set autocomplete field value from api. 

i have try with 

$page = wire('pages')->get(1);
$page->of(false);
$page->autocompleteField = 7111;
$page->save();
$page->of(true);

but doesn't work.

thank you. 

Link to comment
Share on other sites

hello adrian thank you for your response 

but it doesnt work ..... :( 

let me explain, in frondend i can set and save the field,

I have a module that runs in backend and it neads to save that field from a form. 

i have try everything i found in the forum but nothing worked.

thank you

.....

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...