Fieldset "Clients Info"
Textbox "Your Name"
email "E-Mail Address"
number "Office Phone"
number "Office Phone Extension" !
number "Mobile Phone" !
Fieldset "Ticket Template"
select "Choose a Template" "|Empty|Forgot my password|I need a new desktop/laptop|I lost my internet connection"
Fieldset "Troubleshooting" "Choose a Template" "I lost my internet connection"
static "For Desktops"
static "1- Disconnect the Ethernet cable from your computer"
static "2- Wait 10 seconds"
static "3- Reconnect the Ethernet cable to your computer"
static "----"
static "For Laptops"
static "1- Disable the wifi on your computer"
static "2- Wait 10 seconds"
static "3- Enable the wifi on your computer"
select "Did you follow the troubleshooting?" "No|Yes"
Fieldset "Ticket" "Choose a Template" "Empty"
Textbox "Ticket Title"
textarea "Describe your issue:"
Fieldset "Ticket" "Choose a Template" "Forgot my password"
Textbox "Ticket Title" "=Forgot my password"
textarea "Describe your issue:" "=I have forgot my password or I no longer have access to this account :"
Fieldset "Ticket" "Choose a Template" "I need a new desktop/laptop"
Textbox "Ticket Title" "=I need a new desktop/laptop"
textarea "Describe your issue:" "=I need a new desktop/laptop for employee. Please install the following software :"
Fieldset "Ticket" "Choose a Template" "I lost my internet connection"
Textbox "Ticket Title" "=I lost my internet connection"
textarea "Describe your issue:" "=My computer is connected via wired/wifi. I have followed the troubleshooting yes/no."
Fieldset "Additional Info"
select "Do you have TeamViewer Installed" "No|Yes"
select "Do you need to share a password" "No|Yes"
Fieldset "TeamViewer" "Do you have TeamViewer Installed" "Yes"
Textbox "TeamViewer ID"
password "TeamViewer Password"
Fieldset "Password" "Do you need to share a password" "Yes"
password "Domain Password" !
password "Email Password" !
password "Cloud Password" !
password "Docs Password" !
static "*Do not send any unnecessary password or they will be reset"
Fieldset
submit "Submit Ticket"
NOCACHE
Is it possible to create a textbox and have the user input diabled? Usually in html I do it by adding disabled="disabled" in the field. This way, the input is still being sent with the form. I want to prevent the user from modifying the field. But I do not want to hide the field, just disable it.
Also it seems that only the last Fielset is used when using the same name for a textbox. The form does show properly but does not submit data when using the same filed twice. Is there a way for this form would submit as intended ? Or maybe add an ID to each form element and a display name.
Hi,
This is my current form:
====== Create new ticket ====== action template support:templates:ticket "support:my-tickets:clients:@@select your company@@:@@ticket Number@@:start" action mail support@mydomain.com "@@E-mail Address@@" usemailtemplate support:templates:mail-new-ticket subject "New Ticket - @@ticket Title@@" Thanks "Your ticket has been created"
Number "Ticket Number" >0 ++ 0000000000 Fieldset "Client" select "Select your company" "|Company 01|Company 02"
Fieldset "Company Info" "Select your company" "Company 01" select "Division" "|Division A|Division B|Division C" textbox "Address" "=15 Richardson St." textbox "City" "=Beauharnois" textbox "Zip Code" "=J6N 2S9"
Fieldset "Company Info" "Select your company" "Company 02" textbox "Address" "=504 Rue Datura" textbox "City" "=L'Ile-Perrot" textbox "Zip Code" "=J7V 7B3"
Fieldset "Clients Info" Textbox "Your Name" email "E-Mail Address" number "Office Phone" number "Office Phone Extension" ! number "Mobile Phone" !
Fieldset "Ticket Template" select "Choose a Template" "|Empty|Forgot my password|I need a new desktop/laptop|I lost my internet connection"
Fieldset "Troubleshooting" "Choose a Template" "I lost my internet connection" static "For Desktops" static "1- Disconnect the Ethernet cable from your computer" static "2- Wait 10 seconds" static "3- Reconnect the Ethernet cable to your computer" static "----" static "For Laptops" static "1- Disable the wifi on your computer" static "2- Wait 10 seconds" static "3- Enable the wifi on your computer" select "Did you follow the troubleshooting?" "No|Yes"
Fieldset "Ticket" "Choose a Template" "Empty" Textbox "Ticket Title" textarea "Describe your issue:"
Fieldset "Ticket" "Choose a Template" "Forgot my password" Textbox "Ticket Title" "=Forgot my password" textarea "Describe your issue:" "=I have forgot my password or I no longer have access to this account :"
Fieldset "Ticket" "Choose a Template" "I need a new desktop/laptop" Textbox "Ticket Title" "=I need a new desktop/laptop" textarea "Describe your issue:" "=I need a new desktop/laptop for employee. Please install the following software :"
Fieldset "Ticket" "Choose a Template" "I lost my internet connection" Textbox "Ticket Title" "=I lost my internet connection" textarea "Describe your issue:" "=My computer is connected via wired/wifi. I have followed the troubleshooting yes/no."
Fieldset "Additional Info" select "Do you have TeamViewer Installed" "No|Yes" select "Do you need to share a password" "No|Yes"
Fieldset "TeamViewer" "Do you have TeamViewer Installed" "Yes" Textbox "TeamViewer ID" password "TeamViewer Password"
Fieldset "Password" "Do you need to share a password" "Yes" password "Domain Password" ! password "Email Password" ! password "Cloud Password" ! password "Docs Password" ! static "*Do not send any unnecessary password or they will be reset"
Fieldset submit "Submit Ticket"
NOCACHEIs it possible to create a textbox and have the user input diabled? Usually in html I do it by adding disabled="disabled" in the field. This way, the input is still being sent with the form. I want to prevent the user from modifying the field. But I do not want to hide the field, just disable it.
Also it seems that only the last Fielset is used when using the same name for a textbox. The form does show properly but does not submit data when using the same filed twice. Is there a way for this form would submit as intended ? Or maybe add an ID to each form element and a display name.