Forums

This topic is locked

NEED ASP Conditional Region for DWMX

Posted 16 Jan 2003 22:00:18
1
has voted
16 Jan 2003 22:00:18 No more Newsletters posted:
I'll pay $100 to anyone who can fix the ASP Conditional Region extension to work in MX. Gotta have it. Offer expires soon.

Replies

Replied 16 Jan 2003 22:44:09
16 Jan 2003 22:44:09 asp asp replied:
MX has a conditional region already, user SHOW/HIDE? what exactly are you trying to do??
Replied 16 Jan 2003 23:01:37
16 Jan 2003 23:01:37 No more Newsletters replied:
I need the ability to show or hide form elements based on criteria other than whether or not a record is empty. The conditional region extension (by Waldo?) for UD was perfect, but I have MX now - and it doesn't work.

Basically, I'm looking for something that will display (or hide) a selected section based on a defined request or database value. (show this section if dbo.whatever.whatever < 1000)

Thanks
Replied 17 Jan 2003 01:34:41
17 Jan 2003 01:34:41 Owen Eastwick replied:
I'd be inclined to spend a 3rd of that $100 dollars on a decent ASP book and save yourself a fortune in future Extensions for really basic tasks. <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>

&lt;% If Request("txtBoxName" = "Whatever" Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

OR

&lt;% If varNumber = 5 Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

OR

&lt;% If RecordsetName.Fields.Item("FieldName" = "Whatever" Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

Regards

Owen.

---------------------------------------------------
Used programming books and web development software for sale (UK only):
www.tdsf.co.uk/Shop.htm

Multiple Parameter UD4 / Access 2000 Search Tutorial:
www.tdsf.co.uk/tdsfdemo/
Replied 17 Jan 2003 15:40:39
17 Jan 2003 15:40:39 No more Newsletters replied:
I appreciate the feedback. I'm pretty comfortable with ASP, it's just considerably faster to use an extension. DWMX has been out for quite a while now, and I've been doing this by hand in the interim. This is really functionality that MM should include in the basic product. Anyway, I was hoping that a modest financial incentive might spur someone to fix it, since a number of us are clamoring for it.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'd be inclined to spend a 3rd of that $100 dollars on a decent ASP book and save yourself a fortune in future Extensions for really basic tasks. <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>

&lt;% If Request("txtBoxName" = "Whatever" Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

OR

&lt;% If varNumber = 5 Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

OR

&lt;% If RecordsetName.Fields.Item("FieldName" = "Whatever" Then %&gt;
HTML
HTML
&lt;% Else %&gt;
ALTERNATIVE HTML
ALTERNATIVE HTML
&lt;% End If %&gt;

Regards

Owen.

---------------------------------------------------
Used programming books and web development software for sale (UK only):
www.tdsf.co.uk/Shop.htm

Multiple Parameter UD4 / Access 2000 Search Tutorial:
www.tdsf.co.uk/tdsfdemo/
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 07 Feb 2003 21:40:19
07 Feb 2003 21:40:19 Pablo SanJuan replied:
Need it too !!!
Please if somebody translate CONDITIONAL REGIONS for DWMX would be great !!
Thanks


Replied 19 Feb 2003 03:30:50
19 Feb 2003 03:30:50 asp asp replied:
Well here's the deal!! look at the error you get?? seem's to me it's looking for a file called. "Recordset.htm" in a folder called ASP, "C:\Program Files\Macromedia\Dreamweaver MX\Configuration\DataSources\asp" to be exact, well have a look and you will see that folder does not exist, what i did was create the folder and do a SEARCH for "Recordset.htm" drop it in the new folder you made called "ASP" i did it and it works fine for me in MX, how ever it is a simple if structure and to be honest its just as fast to create a snippet or type it out , good luck let me know if it worked for ya!!

Edited by - asp on 19 Feb 2003 03:34:37
Replied 13 Jun 2003 08:50:23
13 Jun 2003 08:50:23 Michele Pensotti replied:
I have created the Adv. Conditional Region for DWMX (ASP VBS/JS) and PHP too , only It doesn't get published even if I already have sent it to George for being published... and George doesn't answer my e-mails...
I'm VERY VERY SAD!!!!

Edited by - 10nico on 16 Jun 2003 18:15:14
Replied 13 Jun 2003 18:57:47
13 Jun 2003 18:57:47 Pablo SanJuan replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have created the Adv. Conditional Region for DWMX (ASP VBS/JS) and PHP too , only It doesn't get published even if I already have sent it to george for being published... and George doesn't answer my e-mails...
I'm VERY VERY SAD!!!!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
So please share it !!!!!!!!


Reply to this topic