NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Conditionaly Hide/UnHide columns on form
« previous
next »
Print
Pages: [
1
]
Author
Topic: Conditionaly Hide/UnHide columns on form (Read 3960 times)
Johan van Zyl
Full Member
Posts: 180
jvz
Conditionaly Hide/UnHide columns on form
«
on:
April 13, 2011, 11:37:17 PM »
The second part is only executed after Save and Change
in DateCancelled and TimeCancelled I have (p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff' OR p_web.GetSessionValue('LOG:HasBeenCancelled ')<>'Yes')
1st you choose TaskType = 'RquestForStaff' then HasBeenCancelled appears with default = ''No' which keeps DateCancelled and TimeCancelled hidden which is correct.
If I now choose 'Yes' from DropDown then DateCancelled and TimeCancelled does not become visible untill I Save and Change.
How do I fix this?
THX!
Logged
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Conditionaly Hide/UnHide columns on form
«
Reply #1 on:
April 14, 2011, 02:41:57 AM »
>> in DateCancelled and TimeCancelled I have
(p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff' OR p_web.GetSessionValue('LOG:HasBeenCancelled ')<>'Yes')
in what? Hide Condition?
what is this field called?
Cheers
Bruce
Logged
Johan van Zyl
Full Member
Posts: 180
jvz
Re: Conditionaly Hide/UnHide columns on form
«
Reply #2 on:
April 14, 2011, 04:48:07 AM »
In Hide for LOG:HasBeenCancelled I have:
p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff'
Default value for LOG:HasBeenCancelled = 'No'
In Hide for LOG:DateCancelled and LOG:TimeCancelleDateCancelled and TimeCancelled I have:
(p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff' OR p_web.GetSessionValue('LOG:HasBeenCancelled ')<>'Yes')
When changing LOG:HasBeenCancelled from 'No' to 'Yes' LOG:DateCancelled and LOG:TimeCancelleDateCancelled do not become visible immediately. I must 1st Save and Change - then I see them.
Logged
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer
charl99
Full Member
Posts: 185
Re: Conditionaly Hide/UnHide columns on form
«
Reply #3 on:
April 14, 2011, 05:52:51 AM »
On the LOG:TaskType and LOG:HasBeenCancelled fields, do the following:
In the Client Side tab, click on 'Send new value to Server' and add the DateCancelled and TimeCancelled to the Reset List.
Charl
Logged
Johan van Zyl
Full Member
Posts: 180
jvz
Re: Conditionaly Hide/UnHide columns on form
«
Reply #4 on:
April 14, 2011, 06:15:21 AM »
That was it thanks - and thanks to Bruce as well!
Logged
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Conditionaly Hide/UnHide columns on form