<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - EDITING: Inserting a text variable field needs to be more intuitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129109">129109</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: Inserting a text variable field needs to be more intuitive
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.7.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>docorbit@sonic.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>It is not clear in the UI or LibreOffice help that in order to be able to test
a variable containing a text value for a logic condition, you much choose the
Text format when creating that variable so that the variable is assigned a Text
type, and that leaving it as a General variable will assign the wrong (numeric)
type.

The usability of this needs to be improved.

Demonstration of issue

Steps:
1. Insert variable varA with value "is" (without the quotes) 
-- a. Insert > Fields > More fields > Variables > Set Variable
-- b. Name: varA 
-- c. Value: is

Alternative 1:

Expected result: Default format General is replaced with Text automatically

Actual result: Default format General remains selected

Alternative 2:

Expected result: Warning appears that the value I entered is not numeric /or/
Warning appears that the value I entered requires the Text format.

Actual result: No indication that anything is amiss.

-- d. Click Insert

Alternative 3:

Expected result: Error dialog that the value and type don't match.

Actual result: Field is inserted with wrong (numeric) type.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>