How to set up a Get condition based on an integer

Last updated Jul 10 2018

With the FormTitan form builder you can create a Get condition that is based on an integer number.
Follow this example and try it yourself:

1-

First set up some testing data in your Salesforce:

- Create a numeric, integer field in your Salesforce 'Account' object called 'Employees'

- Create a few test accounts that have between 30-40 employees.

2-

Create a new blank form

3-

Drag a Section element (From ‘element settings’ > ‘Basic’ category) and make it bigger.


4-


Drag a Textbox element inside it and change the Textbox label to "account" (In ‘Properties’ panel > ‘Element’ tab > ‘Settings’ option > ‘Basic’ category > Label)




5- 


Select the Section and make it repeated. (In ‘Properties’ panel > ‘Element’ tab > ‘Settings’ option > ‘Basic’ category >Turn on 'Repeated' checkbox


6-


Drag a numeric element and change its label to "num of employees".


7-


Now set up the Salesforce Get integration:
- Go to ‘Properties panel > ’Form’ tab > ‘Settings’ option > ‘Salesforce integration’ > ‘Get’ > and Press on the 'Map fields' button


- Choose the "Account" object
- In the 'Condition' category set a condition:
Employees Less than num of Employees


- Choose 'All' in the 'If multiple matches found radio button' and set a limit of 100 records.


- All that's left is to map the fields:
account --> Account Name
- Press 'Apply' and save your form


8-

Now test your form
- Publish it as URL
- Enter 50 in the 'num of employees' field and your test accounts will be drawn to the repeated section.

 

 
CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.