Writing functions

Error message

Notice: Undefined index: cms_login_title in prijava_1ka_block_view() (line 265 of /var/www/1ka.si/www/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module).
addQuestionValue – adds new answer in a question
request_method: POST
 
Parameters:
  • action=addQuestionValue
  • ank_id=123        (survey id)
  • spr_id=1234      (question id)

POST field:

{"tittle":"New answer text"}