Gossamer Forum
Home : Products : DBMan : Customization :

Preveiw Mod

Quote Reply
Preveiw Mod
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?

Quote Reply
Re: Preveiw Mod In reply to
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/
Quote Reply
Re: Preveiw Mod In reply to
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.

Quote Reply
Re: Preveiw Mod In reply to
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. Smile)

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Preveiw Mod In reply to
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/
Quote Reply
Re: Preveiw Mod In reply to
Ok the spaces did it. *grins* thanks a ton...god something that simple and i was looking all over at the calls and all sorts of other things. Thank you.