Library PHP problem with loginUser()

  • Profile Image
    Asked on June 02, 2017 at 03:04 AM

    This my code for login in jotForm with library PHP.

    What is my problem?

    1 This code is login my user, get responce (var_dump($this->user)) i see info, but refresh and all info for my user is hide, next refresh, refresh no my info is hide?

    2 I Call ($jotformAPI->getForms()), result is array with text euOnly.

      public function __construct() {

            $creadentials = array(

                "username" => "",

                "password" => "1234567890523245678qa",

                "appName" => "Application Name",

                "access" => "Access Type",







        function Login($creadentials) {


            $jotformAPI = new JotForm();

            $response = $jotformAPI->loginUser($creadentials);

            $this->user = $response;

         //  $jotformAPI->logoutUser();



        public function Test($ar) {



               $jotformAPI = new JotForm($this->user['appKey']);

        $forms = $jotformAPI->getForms();


        foreach ($forms as $form) {

            print $form["title"];


  • Profile Image
    Answered on June 02, 2017 at 03:39 AM


    I am not sure if I have understood your question correctly. I would suggest you to please send an email at and someone form our API team will get back to you soon.

    Thank you!