简体   繁体   English

我可以定义自己的表单标记并映射到使用Gravity Form(wordpress插件)生成的表单吗?

[英]Can I Define my own form markup and map with to the form generated using Gravity Form (wordpress plugin)?

I am using Gravity Forms in my wordpress site. 我在wordpress网站上使用Gravity Forms。 I want a way in which I can define my own form markup and map it to the form generated using Gravity Forms so when someone submits the form it mails to the email id defined in gravity form and also adds to the gravity form section in wordpress backend. 我想要一种方法,我可以在其中定义自己的表单标记并将其映射到使用Gravity Forms生成的表单,因此当有人提交表单时,它会邮寄到以重力形式定义的电子邮件ID,并且还会添加到wordpress后端的重力表单部分。

This will allow for placeholder text in text inputs for Gravity Forms. 这将允许在Gravity Forms的文本输入中使用占位符文本。

Gravity Forms Placeholder Text 重力形式占位符文本

You may have to delete the very first <?php from this block of code. 您可能必须从此代码块中删除第一个<?php You'll then have an additional "Placeholder" input in the Gravity Forms editor for text inputs. 然后,您将在Gravity Forms编辑器中为文本输入添加一个额外的“占位符”输入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM