signupFormGet
public static SignupFormDataStructure signupFormGet(string token, string signupFormID)
Retrive an existing SignUp Form based on the details provided. Return SignupFormDataStructure
Section
Signup Form Related Methods

Parameters
string tokenA valid token for your account. To generate a token, use the login method.
string signupFormIDID of the signup Form which is to get

Returns
SignupFormDataStructureReturns SignupFormDataStructure.


Examples
download example code
xmlrpc_signupFormGet.php


  1. <?php
  2. /**
  3. This Example shows how to authenticate a user using XML-RPC.
  4. Note that we are using the PEAR XML-RPC client and recommend others do as well.
  5. **/
  6. require_once 'XML/RPC2/Client.php';
  7. require_once 'inc/config.php';
  8. $client = XML_RPC2_Client::create($apiURL);
  9. $token = $client->login($apiLogin, $apiPassword);
  10.  
  11. $signupFormID='484';
  12. $retVal = $client->signupFormGet($token, $signupFormID);
  13.     echo $retVal['sequence'] . "] Signup form Name: " . $retVal['name'] . "(" . $retVal['id'] . ")";
  14.     echo "Introduction".$retVal['introduction'];
  15.     echo "SuccessRedirectUrl".$retVal['successRedirectURL'];
  16.     echo "Title".$retVal['title'];
  17.     echo "Welcome Email Confirmation Text".$retVal['welcomeEmailConfirmationText']."Welcome Email From Name :".$retVal['welcomeEmailFromName'];
  18.     echo "Welcome Email Message : ".$retVal['welcomeEmailMessage']."Welcome Email Signature : ".$retVal['welcomeEmailSignature'];
  19.     echo "Welcome Email Subject : ".$retVal['welcomeEmailSubject']
  20.  echo"Contact Lists:";
  21. foreach($retVal['lists'] as $rec) {
  22.     echo$rec['id']."Name :".$rec['listname'];
  23. }
  24. foreach($retVal['fields'] as $rec) {
  25.     echo"Lable".$rec['label']."Field :".$rec['field']."Order :".$rec['order'];
  26. }
  27. ?>