When editing a link as soon as you add an attachment the page refreshes and all the fields that are a select revert back to the default. I also had this on my other site when somebody previewed their site the select field reverted back and they of course didn't notice until I queried their selection.
I have the link type field as a drop down selection - I have manually input the options as leaving it to {TYPEOPTIONS} does not give exactly what I want.
If you select, say, club then attach a file when it refreshes the link type has reverted to premium.
So that would be entirely down to the customization issue of using manually input options instead of {TYPEOPTIONS}. I think there's a function that can handle it, I'll find it.
Comments on Refreshing edit reverts select fields
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
When editing a link as soon as you add an attachment the page refreshes and all the fields that are a select revert back to the default. I also had this on my other site when somebody previewed their site the select field reverted back and they of course didn't notice until I queried their selection.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see anything reverting. I click 'edit', change the url from http://asd to http://asdfghjkl, select a file and click 'attach' and the page refreshes with http://asdfghjkl listed as the url.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
No, the URL isn't a SELECT option field. Sorry, I should've said submitting, not editing. you can see it here www.thehorsescene.co.uk/hor...ction=addlink&catid=65
I have the link type field as a drop down selection - I have manually input the options as leaving it to {TYPEOPTIONS} does not give exactly what I want.
If you select, say, club then attach a file when it refreshes the link type has reverted to premium.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
So that would be entirely down to the customization issue of using manually input options instead of {TYPEOPTIONS}. I think there's a function that can handle it, I'll find it.
<option value="blah">blah</option><option value="asd">asd</option> <,> regular
Could also be done as radio buttons with <input type="radio" name="$name <,> $options <,> $selected <,> $seperator" value="" checked>
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Still doesn't work, but I've probably put it incorrectly!! I have...
<IF 1>
<select name="type">
<option value="premium">Premium Link</option>
<option value="recip">Reciprocal Link</option>
<option value="club">Club Link</option>
<option value="affil">Affiliate</option>
<,> regular
</select>
<OTHERWISE>
<select name="type">
<option value="premium">Premium Link</option>
<option value="recip">Reciprocal Link</option>
<,> regular
</select>
</IF>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't think it can accept line breaks, try it without them.
<option value="premium">Premium Link</option><option value="recip">Reciprocal Link</option> <,> regular
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
That did the trick! Thanks Paul