Jump to content
  • 0

Html Display For Datapage


zalipresents
 Share

Question

I'm trying to use the following code and id the value is "Yes", then the page displays "Y" and if the value is "No", then it displays "*NO*".   Should be a simple fix and here is the code:

 

<a onclick="window.open('https://c0ebl287.caspio.com/dp.asp?AppKey=68bd300057eefe783aec49488edb,popup,width=307,height=341,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">[@field:Announced]</a>

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi zalipresents,

 

I have tried your code and it works.

I have added an HTML Block, click the "Source" button and entered your code. On click, a new window opens.

 

To format the displaying, you can:

1) When you insert the field with a Parameter Picker, select the "Yes/No" format instead of "String". Then the code will be

[@field:Announced^]

2) Edit the Localization, that is assigned with the DataPage (or copy your Localization),

select "Formatting Standards",

select "Yes/No",

check "Enable Custom Yes/No Formatting",

select "custom",

enter "Y" and "*NO*".

I have attached the screenshot.

 

I hope, it helps.

post-15260-0-44499500-1433223190_thumb.p

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...