Foxtable(狐表)用户栏目专家坐堂 → 求助 weui 图片字段保存时 必填用什么方式


  共有1515人关注过本帖树形打印复制链接

主题:求助 weui 图片字段保存时 必填用什么方式

帅哥哟,离线,有人找我吗?
夜点蚊香
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:三尾狐 帖子:641 积分:4920 威望:0 精华:0 注册:2020/4/15 19:53:00
求助 weui 图片字段保存时 必填用什么方式  发帖心情 Post By:2024/3/6 7:55:00 [显示全部帖子]

求助 weui 图片字段保存时 必填用什么方式

Select Case e.Path
    Case "test.htm"
        Dim wb As New weui
        wb.AddForm("","form1","test.htm")
        With wb.AddInputGroup("form1","ipg1",
"
客户资料")
            .AddInput(
"
姓名","姓名","Text").value = "舒淇"
            .AddInput(
"
年龄","年龄","number").Value = "28"
            .AddInput(
"
日期","日期","date").value = #10/12/2012#
            With .AddUploader("up1","照片",True)
                .TextPosition = 0
'
标题靠左
            End With
        End With
        With wb.AddButtonGroup("form1","btg1",True)
            .Add("btn1",
"
确定", "submit")
        End With
       
e.WriteString(wb.Build) '生成网页
End
Select

 回到顶部