Textarea in embedded form doesn't show content of variable


#1

I have the following code fragment in an embedded form:





Variable “bemerkungen” is not empty. But the textarea doesn’t show its content.
Can anybody help?
PS: I’m using Version 7.6

#2

Hi @thkeller,

could you attach your whole form markup? Is there a closing tag for textarea?

Cheers,
Askar


#3

Yes, there is a closing tag for .

Here we go:

<label class="control-label">Anlageklasse</label>

<div class="controls">

    <input type="text"

           cam-variable-name="anlagenklasse_text"

           cam-variable-type="String"

           class="form-control"

           readonly="true">

</div>
<label class="control-label">Transaktion</label>

<div class="controls">

    <input type="text"

           cam-variable-name="transaktion_text"

           cam-variable-type="String"

           class="form-control"

           readonly="true">

</div>

<label class="control-label">Ticker</label>

<div class="controls">

  <input type="text" 

         cam-variable-name="ticker"

         cam-variable-type="String"

         class="form-control" 

         readonly="true"/>

</div>

<label class="control-label">Anzahl</label>

<div class="controls">

  <input type="text" 

         cam-variable-name="anzahl"

         cam-variable-type="Double"

         class="form-control" 

         readonly="true"/>

</div>

<label class="control-label">Kurslimit</label>

<div class="controls">

  <input type="text" 

         cam-variable-name="kurslimit"

         cam-variable-type="Double"

         class="form-control" 

         readonly="true"/>

</div>

<label class="control-label">Volumen [CHF]</label>

<div class="controls">

  <input type="text" 

         cam-variable-name="volumen"

         cam-variable-type="Double"

         class="form-control" 

         readonly="true"/>

</div>

<label class="control-label">Frist</label>

<p class="input-group">

  <input type="text"

       cam-variable-name="frist"

       cam-variable-type="Date"

       class="form-control"

       datepicker-popup="yyyy-MM-dd'T'HH:mm:ss"

       is-open="dateFieldOpened" 

       readonly="true"/>



  <span class="input-group-btn">

    <button type="button"

            class="btn btn-default"

            ng-click="open($event)">

      <i class="glyphicon glyphicon-calendar"></i>

    </button>

  </span>

</p>

<label class="control-label">Broker</label>

<div class="controls">

    <input type="text"

           cam-variable-name="broker_text"

           cam-variable-type="String"

           class="form-control"

           readonly="true">

</div>

<label class="control-label">Kontrolle</label>

<div class="controls">

    <input cam-variable-name="kontrolle_text"

            cam-variable-type="String"

            cam-choices="KONTROLLE_AUSWAHL"

            class="form-control"

            readonly="true">

</div>

<label class="control-label">Bemerkungen</label>

<div class="controls">

  <textarea cam-variable-name="bemerkungen"

      cam-variable-type="String"

      class="form-control"

      readonly="true"></textarea>

</div>

<label class="control-label">File Upload</label>

<div class="controls">

  <a cam-file-download="document"></a>

</div>



<label class="control-label">Entspricht der erfasste Trade den Anforderungen aus den Anlagerichtlinien und dem Anlageprofil?</label>

<div class="controls">

    <input type="checkbox" 

           cam-variable-name="approve_1"

           cam-variable-type="Boolean"/>

</div>

<p>Hilfestellung:</p>

<ol>

    <li>Beim Titel handelt es sich um ein börsenkotiertes Unternehmen, welches im SPI vertreten ist.</li>

    <li>Der Titel weist gegenüber dem SPI einen max. Tracking Error von 2% auf.</li>

</ol>

<div class="controls">

    <input type="checkbox" 

           cam-variable-name="approve_2"

           cam-variable-type="Boolean"/>

    Entspricht der erfasste Trade den Vorgaben aus der SAA und der TAA?

</div>

<p>Hilfestellung:<br>

    <ol>

        <li>Mit dem Trade werden die Bandbreiten der SAA und der TAA nicht verletzt.</li>

        <li>Die Abweichung zum Benchmark beträgt bei einem grosskapitalisierten Titel (Indexgewichtung > 3%) max. 3%, bei den restlichen Titeln max. 2%</li>

        <li>Die Abweichung zur Sektorgewichtung im Benchmark beträgt max. 5%</li>

    </ol>

</p>

<div class="controls">

    <input type="checkbox" 

           cam-variable-name="approve_3"

           cam-variable-type="Boolean"/>

    Bitte stellen Sie sicher, dass auf dem Belastungskonto genügend Liquidität vorhanden ist.

</div>

#4

Hi @thkeller,

is there nothing displayed in textarea or just not the value that you expect?

Cheers,
Askar


#5

Nothing displayed – just empty.

Cheers

Thomas


#6

Hi @thkeller,

and if you inspect the markup of the page, what is the rendered html tag?

Cheers,
Askar


#7

The problem was a missing closing tag but at another place in the embedded form.

Thanks for your help.

Thomas


#10

Hi, I met the same problem. Textarea show no content of variable
Although I write comments in textarea, it show nothing when this task is send to another user.


This is my form:



Can you help me?