signupFormUpdateMessage
public static boolean signupFormUpdateMessage(string token, SignupFormDataStructure signupForm)
Update various custom fields of an existing SignUp Form based on the details provided. Return Boolean value true if SignupForm updated.
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 signupform which you want to update.
array signupFormThe array containing the signup Form details.
string welcomeEmailFromNameName in the From field of the mail which is sent to the user for welcome him in the contact list.
string welcomeEmailFromEmailEmail in the From email field of the mail which is sent to the user for welcome him in the contact list.
string welcomeEmailSubjectSubject of the welcome mail
string welcomeEmailMessageMessage in the welcome mail
string welcomeEmailConfirmationTextText which will appear as the text on which user will click for confirming the mail
string welcomeEmailSignatureText which will appear as the signature of the welcome mail
string successRedirectURLUrl to which user will be redirected after the successful signup process.
string optinRedirectURLUrl to which user will be redirected after he successfully opts in the mail.
string optinAlertFrequencyFrequency of sending mail to the user.

Returns
stringReturns true if SignupForm updated else false.


Examples
download example code
xmlrpc_signupFormUpdateMessage.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. $signupForm['welcomeEmailConfirmationText'] = 'Thanks For Joining Us';
  12. $signupForm['welcomeEmailFromEmail'] = 'user1@domainname.com';
  13. $signupForm['welcomeEmailFromName'] = 'FromName';
  14. $signupForm['welcomeEmailMessage'] = 'Welcome to our List';
  15. $singupForm['welcomeEmailSubject']='Confirmation Mail';
  16. $signupFormID='484';
  17. $retVal = $client->signupFormUpdateMessage($token, $signupFormID,$singupForm);
  18. ?>