Quantcast
Channel: Topliners : All Content - All Communities
Viewing all articles
Browse latest Browse all 2909

What values should I pass in below code

$
0
0

Hi,

 

 

Below is my code for formSubmit

 

// instantiate a new instance of the request class

$request = new EloquaRequest('site', 'user', 'password', 'baseUrl');

 

// populate values for each field, note that you can describe

// a form and its fields using the following endpoint : GET /assets/form/{id}

 

// assumes a form field (Name) with id : 1001

$nameField = new FieldValue();

$nameField->id = 1001;

$nameField->value = 'Fred';

$nameField->type = 'FieldValue';

 

here I am confused about the values 1. $request = new EloquaRequest('site', 'user', 'password', 'baseUrl'); what values and from where I can get these values.

 

2. $nameField->id = 1001;  how can I get the ID if I used other fields too.

 

Thanks & Regards

Md.Shahid


Viewing all articles
Browse latest Browse all 2909

Trending Articles