You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error during uploading HTML Form in Resource bundle

Accepted answer
29
Views
4
Comments
edited Jul 1, 2021 8:27AM in Digital Assistant & Mobile 4 comments

Content

Hello, I am trying to create HTML Form in chatbot using Resource Bundle but code does not work. 

 below code is I am taking for reference to create a HTML Form.

Code Snippet

<div><form><table border="0" cellspacing="1" cellpadding="1">

<tr><td align="left" colspan="2">

<img src="./images/help-desk3.jpg"/>

</td></tr><tr>
<td align="left">Service Request No:</td>
</tr>
<tr>
<td align="left" nowrap="nowrap">
<input id="mySR" disabled="disabled" maxlength="12" name="mySR" readonly="readonly" size="12" type="text" value="3-12678933" />
</td>
</tr>
<tr>
<td align="left">Needed By Date:</td>
</tr>
<tr>
<td align="left" nowrap="nowrap">
<input id="myDate" name="myDate" size="15" type="text" />
</td>
</tr>

<tr>
<td align="left">Justification</td>
</tr>
<tr>
<td align="left" nowrap="nowrap">
<textarea id="myJustification" name="myJustification" placeholder="Provide a justification" rows="4" cols="50"></textarea>
</tr>
<tr>
<td align="center" nowrap="nowrap">
<input value="Expedite Request" type="button" style="font-size: 15px; background-color: white; padding: 5px 5px 5px 5px; border-bottom-color: white;" onClick='var mySR = document.querySelectorAll("[id=\"mySR\"]"); var myDate = document.querySelectorAll("[id=\"myDate\"]"); var myJustification = document.querySelectorAll("[id=\"myJustification\"]"); Bots.sendMessage({
                              

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!