Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2643 Prikazi

Fix the value of a form field :


Avatar
Opusti
Avtor Best Answer

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'"


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
sep. 23
3270
1
feb. 22
2717
1
mar. 15
4854
0
mar. 15
4516
5
avg. 25
9742