public function getFormField($fieldName)
    {
        //build URI
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/fields/' . $fieldName;

        //sign URI
        $signedURI = Utils::sign($strURI);

        //get response stream
        $responseStream = Utils::ProcessCommand($signedURI, 'GET', '');

        $json = json_decode($responseStream);

        return $json->Field;
    }
public function getFormField($fieldName)
    {
        //build URI
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/fields/' . $fieldName;

        //sign URI
        $signedURI = Utils::sign($strURI);

        //get response stream
        $responseStream = Utils::ProcessCommand($signedURI, 'GET', '');

        $json = json_decode($responseStream);

        return $json->Field;
    }
public function getFormField ( $ fieldName ) { //build URI $ strURI = Product :: $ baseProductUri . '/pdf/' . $ this -> getFileName ( ) . '/fields/' . $ fieldName ; //sign URI $ signedURI = Utils :: sign ( $ strURI ) ; //get response stream $ responseStream = Utils :: ProcessCommand ( $ signedURI , 'GET' , '' ) ; $ json = json_decode ( $ responseStream ) ; return $ json -> Field ; }
Gets a particular form field.

@param string $fieldName Name of the field.

@return object
Gets a particular form field .