Joe Blow
11-27-2013, 10:58 AM
I have someone helping me out with a minor modification on my vB 4.2.1 forum who is having trouble with an AJAX function.
A custom checkbox userfield needs to be updated. Here is the line for the AJAX request:
var postData = {"do" : "saveuserfield", "fieldid" : "5", "securitytoken" : SECURITYTOKEN, "userfield" : {"value" : cValue}};
How do you set the userfield array for this request, since there is no documentation for it? The function that is being called is saveuserfield and is located in ajax.php
Any ideas?
Any help appreciated!
A custom checkbox userfield needs to be updated. Here is the line for the AJAX request:
var postData = {"do" : "saveuserfield", "fieldid" : "5", "securitytoken" : SECURITYTOKEN, "userfield" : {"value" : cValue}};
How do you set the userfield array for this request, since there is no documentation for it? The function that is being called is saveuserfield and is located in ajax.php
Any ideas?
Any help appreciated!