I am using the Preview Mod, so my members can preview before they add it. I have a drop down menu for one of the fields, and it goes blank everytime they hit preview, and tthen they have to re-select it when they want to add it. is there a way to make the value carry over so they dont have to do this?
Jul 8, 2000, 11:01 PM
Veteran / Moderator (8669 posts)
Jul 8, 2000, 11:01 PM
Post #2 of 6
Views: 1554
I don't know why it would be a problem unless your field is set up incorrectly.
Does the select field work all right when a record is modified?
JPD
http://www.jpdeni.com/dbman/
Does the select field work all right when a record is modified?
JPD
http://www.jpdeni.com/dbman/
Yes it does. Its really odd. I have searched and played with things a lot in those sub routines, but it just doesnt want to hold onto that value. I have added a button to just add it and not preview to save some people time, but it really needs to get fixed before i get too many more emails about it. any ideas would be a great help, if you need the URL's just ask, so you can see what its up to.
Jul 9, 2000, 1:28 AM
Veteran / Moderator (8669 posts)
Jul 9, 2000, 1:28 AM
Post #4 of 6
Views: 1553
Probably seeing it in action would be a good idea, as well as looking at your html.pl file.
Copy your html.pl file to a web-accessible directory (one where you would place .html files) and rename it to html_pl.txt. Then let me know where I can pick it up.
(BTW, I got your private message. You're welcome.
)
JPD
http://www.jpdeni.com/dbman/
Copy your html.pl file to a web-accessible directory (one where you would place .html files) and rename it to html_pl.txt. Then let me know where I can pick it up.
(BTW, I got your private message. You're welcome.

JPD
http://www.jpdeni.com/dbman/
Jul 9, 2000, 10:06 AM
Veteran / Moderator (3034 posts)
Jul 9, 2000, 10:06 AM
Post #5 of 6
Views: 1549
I'm not sure if this is the solution but something you may want to check.
quoted from a previous thread:
In your .cfg file, in % db_select_fields, make sure you have all the options for the select field on one line and that there are no leading or trailing spaces in each option.
This is correct:
FieldName => 'option1,option2,option3,option4,option5'
This is incorrect:
FieldName =>
'option1,
option2,
option3,
option4,
option5'
This is also incorrect:
FieldName => 'option1 , option2 , option3 ,option4 , option5'
(There are a lot of different permutations of incorrect format. )
That's the only reason I can think of that your values would not be selected when you modify the record.
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
quoted from a previous thread:
In your .cfg file, in % db_select_fields, make sure you have all the options for the select field on one line and that there are no leading or trailing spaces in each option.
This is correct:
FieldName => 'option1,option2,option3,option4,option5'
This is incorrect:
FieldName =>
'option1,
option2,
option3,
option4,
option5'
This is also incorrect:
FieldName => 'option1 , option2 , option3 ,option4 , option5'
(There are a lot of different permutations of incorrect format. )
That's the only reason I can think of that your values would not be selected when you modify the record.
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/