Fullname » History » Version 2
prin methirattanasophon, 02/23/2026 02:39 AM
| 1 | 1 | prin methirattanasophon | # Fullname |
|---|---|---|---|
| 2 | 2 | prin methirattanasophon | |
| 3 | 1. Page Overview (Frontend) |
||
| 4 | |||
| 5 | Description: Interface for presenting user personal informations form. |
||
| 6 | |||
| 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 | Workflow: |
||
| 25 | <img style="width: 312px;" src="clipboard-202602181558-kgssd.png"><br> |
||
| 26 | |||
| 27 | --- |
||
| 28 | |||
| 29 | 2. System Integration |
||
| 30 | |||
| 31 | Objective: To save user informations |
||
| 32 | |||
| 33 | API: |
||
| 34 | - Method: POST |
||
| 35 | - Enpoint: /customer/fullname |
||
| 36 | |||
| 37 | Body: |
||
| 38 | |Key|Type|Description| |
||
| 39 | |:--|:--|:--| |
||
| 40 | |email|string|| |
||
| 41 | |mobile|string|| |
||
| 42 | |thName|string|| |
||
| 43 | |thSurname|string|| |
||
| 44 | |thMidName|string\|null|Optional| |
||
| 45 | |engName|string|| |
||
| 46 | |engSurname|string|| |
||
| 47 | |engMidName|string\|null|Optional| |
||
| 48 | |thTitle|string|| |
||
| 49 | |enTitle|string|| |
||
| 50 | |idCard|string\|null|For skip appman only| |
||
| 51 | |is_skip_appman|bool|true for skip appman| |
||
| 52 | |step|int|page index| |