Include field instructions in SC form?
Posted: 13 December 2010 04:06 AM   [ Ignore ]
Is a Really Great Dancer
RankRank
Total Posts:  61
Joined  2010-12-03

Is it possible to include a field’s instructions as set in the control panel in a Safecracker form?
If my client wants to change the instructions at a later date I don’t want to have to go in and change the template files

Thanks!

Profile
 
 
Posted: 13 December 2010 09:37 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

You can get field instructions within the custom_fields loop using {field_instructions}. And in the next version we’ll have a tag for use outside of the custom_fields loop.

Profile
 
 
Posted: 14 December 2010 12:39 AM   [ Ignore ]   [ # 2 ]
Is a Really Great Dancer
RankRank
Total Posts:  61
Joined  2010-12-03

Thanks Rob, but I’m a little unclear, I have this in my form:

<label>Asset format:</label>
{field:asset_format} 

How would I include the instructions there?

Profile
 
 
Posted: 14 December 2010 12:41 AM   [ Ignore ]   [ # 3 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

You’ll have to wait until the next release, in a few weeks.

Profile
 
 
Posted: 17 December 2010 03:31 AM   [ Ignore ]   [ # 4 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

We just released SafeCracker 1.0.1, which has the {instructions:your_field_name} tag. Please note, this new version requires the new version of EE, 2.1.2, which came out yesterday.

Profile
 
 
Posted: 17 December 2010 05:04 PM   [ Ignore ]   [ # 5 ]
Is a Really Great Dancer
RankRank
Total Posts:  61
Joined  2010-12-03

Ah great, is this a free update? How do we go about upgrading?

Profile
 
 
Posted: 17 December 2010 07:30 PM   [ Ignore ]   [ # 6 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Yes, just head to http://barrettnewton.com/store/downloads (or from the devotee store if you purchased there) to get the latest version. Then, upload the new files to the third_party folder, overwriting your old files. That’s it.

Profile