title: How to retrieve the value of an Input field and use it to modify a placeholder in a LibreOffice Basic macro?
body: <p>I've spent two days on this and I'm still not able to figure it out 8-)</p>
  
  <p>I have a LibreOffice Writer document with some <code>Placeholders</code> (<code>Insert -&gt; Fields -&gt; More Fields -&gt; Functions -&gt; Placeholder</code> -> <code>Image</code>) and <code>Input fields</code> (<code>Insert -&gt; Fields -&gt; More Fieds -&gt; Functions -&gt; Input field</code>) and I need to retrieve the value of an <code>Input field</code> and use it to replace a specified <code>Placeholder</code> in the same document.</p>
  
  <p>To be more precise. I have an <code>Input field</code> where I enter for example <code>123</code>
  and somewhere in the document is a button, which triggers a macro, and this macro should:</p>
  
  <ol>
  <li>retrieve the current value of the specified (named?) <code>Input field</code> ("123"),</li>
  <li>"replace" a specified (named?) <code>Placeholder</code> with an image loaded from <code>http://domain.tld/image/123.png</code></li>
  </ol>
  
  <p>Is this somehow possible? Would be great, because I'm trying to to insert externally generated barcodes into my document...</p>