Problem with the way edits are passed
Problem with the way edits are passed
I am trying to use a SAS Stored Process to use the information passed when a table is edited. The info is passed on a uRL a bit like this ... http://d351tq92/SASStoredProcess/do?_program=%2FUser+Folders%2Fphil%2FMy+Folder%2Fdatatables1**&data[row_25][first_name]=Angelicay**
My web application gives an error like this ... "data[row_25][first_name]" is an invalid name because it contains characters other than alphanumeric values or underscore.
I would really like to modify data[row_25][first_name] to be something like data_row_25_first_name_, so it conforms to the rules I must follow. Does anyone know how to do this?
thanks very much
Phil
Answers
You can use the
ajax.data
option to control the data sent to the server. One of the examples on that page shows how it can be sent as JSON in the request body for example, or you can manipulate the object if you need to.Allan