I’m building an intranet sitye here at work and I’m building a submission page for people to list their “artifacts” or documents.
Other than the title field, there are two custom fields - path_to_artifact and artifact_notes. I’m using an html file upload field for users to be able to insert the path to their artifact with. However, I do NOT want the actual file to upload, I only want it to populate the field.
My entry form is as follows:
{exp:weblog:entry_form weblog=”{my_weblog}” return=“weblog/index” preview=“weblog/entry”}
<p><b>Title</b><br />
<input type=“text” name=“title” id=“title” value=”{title}” size=“71” maxlength=“100” onkeyup=“liveUrlTitle();” /></p>
<p><b>Path to Artifact</b><br />
<b><tt><big><input type=“file” ... value=”{path_to_file}”></big></tt></b>
<p><b>Artifact Notes</b><br />
<div class=“bodytext” ><textarea cols=“50” rows=“6” onclick=“setFieldName(this.name)” value=”{artifact_notes}”></textarea>
</br>
<input type=“submit” name=“submit” value=“Submit” />
<input type=“submit” name=“clear” value=“Clear” />
{/exp:weblog:entry_form)
The only field that populates the database is title. The other two fields do not input any data.
Any thoughts on what I’m doing wrong? Thanks,
THT
