Project

General

Profile

Fullname » History » Version 1

prin methirattanasophon, 02/18/2026 07:22 AM

1 1 prin methirattanasophon
# Fullname
2
3
1. Page Overview (Frontend)
4
5
Description:
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
---
25
26
2. System Integration
27
28
Objective: To save user informations
29
30
API:
31
 - Method: POST
32
 - Enpoint: /customer/fullname
33
34
35
{
36
    email: string;
37
    mobile: string;
38
    thName: string;
39
    thSurname: string;
40
    engTitle: string;
41
    engName: string;
42
    engSurname: string;
43
    thTitle?: string | undefined;
44
    thMidName?: string | undefined;
45
    engMidName?: string | undefined;
46
    idCard?: string | undefined;
47
}
48
49
Body:
50
|Key|Type|Description|
51
|:--|:--|:--|
52
|email|string||
53
|mobile|string||
54
|thName|string||
55
|thSurname|string||
56
|thMidName|string\|null|Optional|
57
|engName|string||
58
|engSurname|string||
59
|engMidName|string\|null|Optional|
60
|thTitle|string||
61
|enTitle|string||
62
|idCard|string\|null|For skip appman only|