我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Symfony2表单中创建按钮

Does symfony2 have simple button type(not submit or file) for forms? I looked there(http://symfony.com/doc/current/reference/forms/types.html) and could not find it.

No. Since you don't bind data to a button, it doesn't make sense to have a type for it. Do it using plain HTML.

As an update to this question, as of Symfony 2.3 (released end of may 2013) they do now have button types http://symfony.com/doc/current/reference/forms/types/button.html

近期文章

  • comsol光纤器件功率损耗问题怎么弄
  • 支付宝小程序交易组件
  • MATLAB卸载报错调用主函数错误
  • 关于#c语言#的问题,请各位专家解答!
  • 对于mos 和Igbt,如何根据datasheet里的Eon Eoff信息来计算开关损耗?
  • 学习c语言第一天实在不知道错哪了
  • C#创建excel,保存时文件路径提示值不在预期范围内
  • stata的ssc install命令无法使用
  • python 人脸识别问题
  • ZNYQ ad9361
  • 如何动态地将NULL插入postgres表?
  • 如何增加设备管理器中cpu显示的线数?(语言-c#)
  • 为什么执行可执行文件显示找不到文件
  • 编译运行OpenNI的相关问题
  • Windows下编译安装Carla
  • python 人脸识别
  • 看看这种垃圾代码,想骂人了
  • pycharm配置环境问题
  • 'NoneType' object has no attribute
  • 编写一个Java Application程序,该程序运行后输出效果如下

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华