Project

General

Profile

Fullname » History » Revision 2

Revision 1 (prin methirattanasophon, 02/18/2026 07:22 AM) → Revision 2/6 (prin methirattanasophon, 02/18/2026 07:24 AM)

# Fullname 

 1. Page Overview (Frontend) 

 Description: Interface for presenting user personal informations form. 

  - Page Route: /onboarding/fullname 
  - Figma: https://www.figma.com/design/SBabvyocQYJPTJsSoBplV1/FDA_EDIT?node-id=9896-30392&m=dev 

 Logic: 
 | Field | Validation | Madatory | 
 | :--- | :--- | :--- | 
 |title (th)|TH and EN title should be changed when select one of them.|Y| 
 |th name|allow only Thai alphabets|Y| 
 |th middle name|allow only Thai alphabets|| 
 |th surname|allow only Thai alphabets|Y| 
 |title (en)|TH and EN title should be changed when select one of them.|Y| 
 |en name|allow only English alphabets|Y| 
 |en middle name|allow only English alphabets|| 
 |en surname|allow only English alphabets|Y| 
 |email|correct email format|Y| 
 |mobile|allow only thai number start with +66, 06, 08, 09|Y| 

 --- 

 2. System Integration 

 Objective: To save user informations 

 API: 
  - Method: POST 
  - Enpoint: /customer/fullname 


 { 
     email: string; 
     mobile: string; 
     thName: string; 
     thSurname: string; 
     engTitle: string; 
     engName: string; 
     engSurname: string; 
     thTitle?: string | undefined; 
     thMidName?: string | undefined; 
     engMidName?: string | undefined; 
     idCard?: string | undefined; 
 } 

 Body: 
 |Key|Type|Description| 
 |:--|:--|:--| 
 |email|string|| 
 |mobile|string|| 
 |thName|string|| 
 |thSurname|string|| 
 |thMidName|string\|null|Optional| 
 |engName|string|| 
 |engSurname|string|| 
 |engMidName|string\|null|Optional| 
 |thTitle|string|| 
 |enTitle|string|| 
 |idCard|string\|null|For skip appman only|