It looks like you're new here. If you want to get involved, click one of these buttons!
if (typeof window.customScripts == "undefined") { window.customScripts = { updateNamedHook: function(hookName) { var value = $("input[name='" + hookName + "'], textarea[name='" + hookName + "']")[0].value; // Find the named hook node and set the text inside. $("tw-hook[name*='" + hookName + "']").text(value); } }; };
[]<Answer1|. <input type="text" name="Answer1" value="">
<Answer1|. <input type="text" name="Answer1" value=$Value1>
Comments
You can use a (print: ) macro to dynamically create your input element, note the usage of both single and double quotes to allow the element's attributes to be set correctly.
It works of course
I still don't know how any human being can know as much as you do about Twine!