Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是想知道是否可以预填表格。我正在创建一个网站,要求用户在发送发票之前输入他们的数据和其他数据。我想知道是否可以对发票进行编码,以便当用户单击链接以创建发票时,他们的用户名已经在表单上(这意味着他们只需要输入接收发票的人的数据)
?
$this->data['model_name']['field_name'] = 'Default Value';