Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2646 Lượt xem

Fix the value of a form field :


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

add a "value=" attribute in the input + add a "readonly='true'" attribute in the input tag 



Here is a use case when it turns out to be very useful : B2B e-commerce login 


In this use case, the client needs to be able to automate the registration process. 


  • To ask for log in credentials, customers need to send a form with their information. 

  • The form creates a new task in project (or in any other model of your choice).

  • We want to fix the name of the task to "log in request" to be able to easily find the requests. 

  • Create an automated action to send an email when a new task is created where "name='log in request'"


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
3271
1
thg 2 22
2717
1
thg 3 15
4854
0
thg 3 15
4518
5
thg 8 25
9747