Editing a submission using java

  • Profile Image
    davesinner
    Asked on September 15, 2013 at 11:21 AM

     

     i want to editing first part of a fullname question using java . İ m trying this

    JotformAPIClient client = new JotformAPIClient("YOUR API KEY");HashMap<String, String> newSubmission = new HashMap<String, String>(); newSubmission.put("1_first","FIRST NAME"); newSubmission.put("new", "0"); newSubmission.put("flag", "0")JSONObject result = client.editSubmission("SUBMISSION ID", newSubmission);

    But , in this part : 'newSubmission.put("1_first","FIRST NAME");'
    what is '1_first'?

    http://p1309.hizliresim.com/1f/h/sr629.bmp or http://m1309.hizliresim.com/1f/h/sr62j.bmp or ?
    Can you give me a specific sample ?

    Thanks
  • Profile Image
    davesinner
    Answered on September 15, 2013 at 11:38 AM

    SOLVED . Thanks . '1_first' is reverse  'id' attribute of first part of fullname of form source code . I guess , this situation is same for other inputs .