Access Phone Field Components (Country Code) Directly

Access Phone Field Components (Country Code) Directly

Hello everyone,

I'd like to propose an enhancement for the Phone field in Zoho Creator.

The Problem: The Phone field captures the country code and local number separately, but stores them as a single string (e.g., +1234567890). To get the country code, we have to write custom Deluge scripts using zoho.ai.parsePhoneNumber() or string manipulation.

The Proposal: Allow us to access the Phone field's components directly, just like we do with the Name field (Name.first_name).

For example:

  1. // Let's say the field is 'Phone'
  2. code = input.Phone.country_code; // Proposed
  3. number = input.Phone.local_number; // Proposed