Hi,
Im using safecracker but im having issues with a textarea input and an image upload
My template contains the following
{exp:safecracker channel="lost" return="lostentry/thank-you" entry_id="{segment_3}"}
<label for="title">Title</label>
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" /></p>
<label for="sex">Sex?</label>
<select name="l_sex" id="l_sex">
{options:l_sex}
<option value="{option_value}"{selected}>{option_name}</option>
{/options:l_sex}
</select>
<label for="age">Age (if known)</label>
<input type="text" name="l_age" id="l_age" value="{l_age}" maxlength="75" size="50" /></p>
<label for="age">Breed (if known)</label>
<input type="text" name="l_breed" id="l_breed" value="{l_breed}" maxlength="75" size="50" /></p>
<label for="type">type of animal</label><select name="l_type" id="l_type">
{options:l_type}
<option value="{option_value}"{selected}>{option_name}</option>
{/options:l_type}
</select>
<label for="image">Image</label>
<input type="file" name="{l_image}" id="image" value="{l_image}" /></p>
{custom_fields}
{if textarea}
<label for="description">Description</label>
<textarea id="{l_description}" name="{l_description}" rows="10" cols="50">{l_description}</textarea>
{/if}
{/custom_fields}
<label for="name">Your Name</label>
<input type="text" name="l_name" id="l_name" value="{l_name}" maxlength="75" size="50" /></p>
<label for="phone">Your Phone</label>
<input type="text" name="l_phone" id="l_phone" value="{l_phone}" maxlength="75" size="50" /></p>
<label for="email">Your Email</label>
<input type="text" name="l_email" id="l_email" value="{l_email}" maxlength="75" size="50" /></p>
{if captcha}
<label for="captcha">Please enter the word you see in the image below:</label>
{captcha}
<input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
{/if}
<input type="submit" name="submit" value="Submit" />
{/exp:safecracker}ok, all field except the textarea and the image upload are saving data as needed. I have changed the file field on the associated custom field to safecracker file but im not having any luck…
can someone point me in the right direction? Ive searched the forums but cant find anything that fixes this (yet)
Another question is, using fieldtype SafeCracker File removes the ability for me to edit the image uploaded… is there a way around this?