Skip to main content

Welcome to Clappia Community. Register here and start posting, asking questions and giving answers on any topics related to the Platform functionality.

Answer

Hello Azeez.

You can easily collect the GPS Location data (Co-ordinates - Latitude, Longitude) from Google Maps in Clappia. Here's how:

While you are designing your app in Clappia using the GPS Location block, select Show advanced options in the right panel.

From the advanced options enable the Default to current location option.

Clappia - App Design - GPS Location block
Clappia - App Design - GPS Location block

 

When the user opens your app the GPS Location is automatically captured.

Since 'Allow user to manually change location' is disabled, the user cannot edit this data.

Clappia App -Capture GPS Location Automatically 
Clappia App -Capture GPS Location Automatically 

NOTE: GPS Location must be turned on in the users' mobile phone for the app to capture the location co-ordinates.

 

Answer

Hi Juan.

With the new update to the Text, HTML, and Embedding block you can still embed your custom code/HTML as before, and now you have two ways to do that.

1: Source Code button in the Format Options Bar

Click on the 'Source Code' button with the icon '< >'.

Clappia - Text, HTML & Embedding block
Clappia - Text, HTML & Embedding block

 

2: Source Code button in the Format Options Bar

Click on the Format option and select Source Code.

Clappia - Text, HTML & Embedding block
Clappia - Text, HTML & Embedding block

 

Choosing any options from above will open the HTML block where you can embed your custom code easily.

Clappia - Text, HTML & Embedding block - HTML Source Code
Clappia - Text, HTML & Embedding block - HTML Source Code

 

Also,

When you write in the Plain Text area, it will automatically generate the HTML code in the HTML block for that. 

Answer

You can easily achieve Fee Calculation on a Monthly basis and also on a Daily basis using only Calculations & Logic Block in Clappia. You can select only 1 month or more than 1 month. Here's how:

1. Fee Calculation on a Monthly basis

Consider a simple app as shown below which includes the particulars of the student, months, fee per month and the total fees.

Blocks used in the app:

Single Line Text - Student Name.

Single Line Text - Roll Number.

Single Selector - Is it a Leap Year? (Options: Yes, No.)

Multiple Selector - Fee to be paid for the month/months? (Options: All the months in the year.)

Single Selector - Number of months.

Calculations & Logic - Number of days in the months selected (This is where the magic happens. The Formula is explained below the image. Keep reading.)

Single Line Text - Fee per month. (The app user will enter the number manually.)

Calculations & Logic - Total Fees Payable. (Formula: Multiplication of "Number of days in the months selected" and "Fee per month". Type @ and select the appropriate variables.)

Number of days in the months selected - The below formula will automatically input the number of days in a month selected or the total number of days in the months selected.

If the answer is 'Yes' for the leap year then February will have 29 days. If the answer is 'No' then February will... (More)