Difference between revisions of "SetPhoneNumber"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:User_Functions]]
+
<p><span class="fck_mw_template">{{HelpFiles}}</span>

+
</p>
 +
<h4> setPhoneNumber </h4>
 +
<p>Sets the phone number of the current questionnaire answer sheet’s user
 +
</p><p><b>Syntax</b>
 +
</p><p>setPhoneNumber(<i>phone_number_type, new_phone_number, country_code</i>)
 +
</p><p><b>Arguments</b>
 +
</p><p><i>phone_number_type</i>. Is a numeric (non-decimal) expression. It must be one of the built-in constants:  
 +
</p><p>PhoneNumber_Type_NotIdentified,
 +
</p><p>PhoneNumber_Type_Home1,
 +
</p><p>PhoneNumber_Type_Home2,
 +
</p><p>PhoneNumber_Type_Mobile1,
 +
</p><p>PhoneNumber_Type_Mobile2,
 +
</p><p>PhoneNumber_Type_Business1,
 +
</p><p>PhoneNumber_Type_Business2,
 +
</p><p>PhoneNumber_Type_HomeFax,
 +
</p><p>PhoneNumber_Type_BusinessFax
 +
</p><p><i>new_phone_number</i>: Is a string expression
 +
</p><p><i>country_code</i>: Is a numeric (non-decimal) expression.
 +
</p><p><b>Return type</b>
 +
</p><p>empty
 +
</p><p><b>Examples</b>
 +
</p><p>setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);
 +
</p><p><b>Availability</b>
 +
</p><p>Version 4.8 </p>
  
====setPhoneNumber====
+
[[Category:General_Functions]]
 
 
Sets the phone number of the current questionnaire answer sheet’s user
 
 
 
'''Syntax'''
 
 
 
setPhoneNumber(''phone_number_type, new_phone_number, country_code'')
 
 
 
'''Arguments'''
 
 
 
''phone_number_type''. Is a numeric (non-decimal) expression. It must be one of the built-in constants:
 
 
 
PhoneNumber_Type_NotIdentified, PhoneNumber_Type_Home1, PhoneNumber_Type_Home2, PhoneNumber_Type_Mobile1, PhoneNumber_Type_Mobile2, PhoneNumber_Type_Business1, PhoneNumber_Type_Business2, PhoneNumber_Type_HomeFax,     PhoneNumber_Type_BusinessFax
 
 
 
''new_phone_number'': Is a string expression
 
 
 
''country_code'': Is a numeric (non-decimal) expression.
 
 
 
'''Return type'''
 
 
 
empty
 
 
 
'''Examples'''
 
 
 
setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);
 
 
 
'''Availability'''
 
 
 
Version 4.8
 
 
 
'''Reference:'''
 
 
 
http://help4.catglobe.com/4436.htm
 
__NOTOC__
 
<!-- imported from file: 739.htm-->
 

Latest revision as of 10:06, 5 June 2017



setPhoneNumber

Sets the phone number of the current questionnaire answer sheet’s user

Syntax

setPhoneNumber(phone_number_type, new_phone_number, country_code)

Arguments

phone_number_type. Is a numeric (non-decimal) expression. It must be one of the built-in constants:

PhoneNumber_Type_NotIdentified,

PhoneNumber_Type_Home1,

PhoneNumber_Type_Home2,

PhoneNumber_Type_Mobile1,

PhoneNumber_Type_Mobile2,

PhoneNumber_Type_Business1,

PhoneNumber_Type_Business2,

PhoneNumber_Type_HomeFax,

PhoneNumber_Type_BusinessFax

new_phone_number: Is a string expression

country_code: Is a numeric (non-decimal) expression.

Return type

empty

Examples

setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);

Availability

Version 4.8