Jump to content

ON/OFF switch in forms savable after clicking?


Go to solution Solved by teraßyte,

Recommended Posts

Posted

Hello,

is there a way to set up YesNo button that saves after changing its state without having to set up whole form? What I want to achieve:

Could contain: Nature, Night, Outdoors, Astronomy, Moon

what I get instead:

Could contain: Computer, Electronics, Laptop, Pc, Text

is it even possible or do I have to write JavaScript code for it?

  • Solution
Posted
2 hours ago, szalik.dev said:

or do I have to write JavaScript code for it?

This. You need to add some Javascript that catches the state change of the button and save the change with an ajax request to the backend.

  • Recently Browsing   0 members

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