Using If condition in Jelly Scripting!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2015 11:42 PM
Hi All,
I am quite new to jelly scripting and i am facing a problem described as below:-
In my client's SNOW instance there is section in "My Assessment and Surveys---->>Click on Any Assessment to open" page in which there is a link on the top of that page which when clicked ,takes us to another ui pop up.
The requirement here is that the client wants that particular section of the page(a link on the top of Assessment page which when clicked ,takes us to another ui pop up) to be hidden for a particular kind of assessment.
FYI the assessment in the client's instance is just configured for Demand Management as of now. So they want it to be hidden in case they want to configure the assessment for any other applications in future.
Its an OOB script "assessment_take" which i am trying to edit.
Can anybody help me with the script on how can i have the link on the top of the page to be only visible when the assessment is for Demand management?
Thanks,
Shahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 01:03 AM
try this
<j2:if test="$[jvar_assessable_type == 'demand']">
<g:ui_form>
<p><b><font size ="5">NOTE: To help the scoring of the demand across each of the 11 metrics, please use this - <a href="javascript:Dialog()"><font color="blue"> resource.</font></a></font></b>
</p>
</g:ui_form>
</j2:if>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 01:09 AM
Hi Anurag,
Same hard luck again. No go.
I am clueless now too.
Any other ideas here?
Thanks,
Shahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 01:23 AM
Hi Anurag,
Can you help me with a new issue here?
The Link section of the page is also coming up in the next page also ,after the assessment is saved or submitted or cancelled(Once you press the buttons at the end of the page ,only info message should come up in the next page).
Now the info message and the Link both are coming up.
May be you can help me on this atleast
Thanks,
Shahid