Fullname » History » Version 2
prin methirattanasophon, 02/18/2026 07:24 AM
| 1 | 1 | prin methirattanasophon | # Fullname |
|---|---|---|---|
| 2 | |||
| 3 | 1. Page Overview (Frontend) |
||
| 4 | |||
| 5 | 2 | prin methirattanasophon | Description: Interface for presenting user personal informations form. |
| 6 | 1 | prin methirattanasophon | |
| 7 | - Page Route: /onboarding/fullname |
||
| 8 | - Figma: https://www.figma.com/design/SBabvyocQYJPTJsSoBplV1/FDA_EDIT?node-id=9896-30392&m=dev |
||
| 9 | |||
| 10 | Logic: |
||
| 11 | | Field | Validation | Madatory | |
||
| 12 | | :--- | :--- | :--- | |
||
| 13 | |title (th)|TH and EN title should be changed when select one of them.|Y| |
||
| 14 | |th name|allow only Thai alphabets|Y| |
||
| 15 | |th middle name|allow only Thai alphabets|| |
||
| 16 | |th surname|allow only Thai alphabets|Y| |
||
| 17 | |title (en)|TH and EN title should be changed when select one of them.|Y| |
||
| 18 | |en name|allow only English alphabets|Y| |
||
| 19 | |en middle name|allow only English alphabets|| |
||
| 20 | |en surname|allow only English alphabets|Y| |
||
| 21 | |email|correct email format|Y| |
||
| 22 | |mobile|allow only thai number start with +66, 06, 08, 09|Y| |
||
| 23 | |||
| 24 | --- |
||
| 25 | |||
| 26 | 2. System Integration |
||
| 27 | |||
| 28 | Objective: To save user informations |
||
| 29 | |||
| 30 | API: |
||
| 31 | - Method: POST |
||
| 32 | - Enpoint: /customer/fullname |
||
| 33 | |||
| 34 | Body: |
||
| 35 | |Key|Type|Description| |
||
| 36 | |:--|:--|:--| |
||
| 37 | |email|string|| |
||
| 38 | |mobile|string|| |
||
| 39 | |thName|string|| |
||
| 40 | |thSurname|string|| |
||
| 41 | |thMidName|string\|null|Optional| |
||
| 42 | |engName|string|| |
||
| 43 | |engSurname|string|| |
||
| 44 | |engMidName|string\|null|Optional| |
||
| 45 | |thTitle|string|| |
||
| 46 | |enTitle|string|| |
||
| 47 | |idCard|string\|null|For skip appman only| |