

![]() |
| | Thread Tools | Display Modes |
| |||
|
adding extra fields is easy, but what if I want to do something with the field? adding a form to it or a calendar etc, how can I modify just one of the extra fields?
|
| |||
|
I have the same question, and I having trouble with the appearance of the extra fields on my submit form. I cannot seem to get the field titles to align properly with the entry fields after the first one. http://pandorastations.com |
| |||
|
There's a file called submit_extra_fields.tpl. This contains the html for all the extra fields. You can edit this however you want.
|
| |||
|
Thank you.. I've been looking for this as well.
|
| |||
|
I think I am not bright :-) I just want to add extra field no 4 as drop down menu Is it on extra_fields.php define('Enable_Extra_Field_4', true); define('Field_4_Title', 'misc field4'); define('Field_4_Instructions', 'this is where you put the instructions for this new field.'); <select name="Drop Down Menu "> <option value="option 1">option 1</option> <option value="option 2">option 2</option> <option value="option 3">option 3</option> <option value="option 4">option 4</option> </select> define('Field_4_Searchable', true); and then on submit_extra_fields.tpl , {if $Enable_Extra_Field_4 eq 1} <br /> <p class="l-mid"><label for="trackback">{$Field_4_Title}:</label> <span class="form-note">{$Field_4_Instructions}</span><br /> <select name="Drop Down Menu" id="link_field4"> <option value="option 1">option 1</option> <option value="option 2">option 2</option> <option value="option 3">option 3</option> <option value="option 4">option 4</option> </select> </p> {/if} Please advise |
| ||||
|
You're going to need to remove the html form code from the <extra_fields.php> file. I believe you just need what you have in the <submit_extra_fields.tpl> file.
|
| |||
|
It did appear on the submit step 2 page and I can select it. However, the selected "option 1" did not show up on the post ? please advise |
| |||
|
let me rephrase :-) I followed your advise I throw out the html form code from the <extra_fields.php> file and then on submit_extra_fields.tpl , i just use Quote:
the option showed by default is "option 1". Then, I clicked preview and submit, and then submit it wasn't there. I also tried adding one more line to the bottom on submit_extra_fields.tpl value="{$submit_link_field4}" it's also not working pls advise Last edited by michael12happy; 04-06-2007 at 10:26 PM. Reason: typo error |
| |||
| Quote:
what are the things I should add on the above to make it work ? |
| ||||
I added the {if $submit_link_field7 eq "option 2"}SELECTED{/if} code, because you want to keep the submitted data if you want to edit an article. Don't forget to edit that if your 2nd option is called "whatever" instead of "option 2". Hope this helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Query missing. Using extra field as Magpierss's source | Andtony | Questions and Comments | 2 | 11-27-2010 08:57 PM |
| Little anti spam extra field. | gabs | Questions and Comments | 2 | 02-10-2010 07:20 PM |
| How to create tag cloud for a extra field? | dasaxena | Questions and Comments | 2 | 07-28-2009 09:13 PM |
| Need to add 1 more extra field to the submit page - step2 | aaronpais | Questions and Comments | 3 | 04-10-2008 03:37 PM |
| Problem with extra field... | Lunatic | Questions and Comments | 0 | 09-30-2006 06:09 PM |