How to use “Choice Callback”
-
I wanna design a form with relationship for two value (Just like Country > State), when I select value1, that value2 will change to fit value1, I have Google that, it suggest me to use “Choice Callback”, I have tried to add my function into “functions.php” under my theme folder, and fill the “Choice Callback” blank with function name (without brackets), but it still doesn’t work, I opened the “Develop Tools” in Chrome when I select value1, and I saw a ajax request has been post, but the http status code is 400, and it response ‘0’, I’m very confused about that, I’ll be grateful if you guys know how to help me, thx.
- The topic ‘How to use “Choice Callback”’ is closed to new replies.