Jump to content
  • 0
ray

Style external parameter

Question

Hello. I am using an external parameter from a query string to populate a display only field on a submission DataPage. How can I apply basic HTML styling to the field? For example, field Virtual1 on the DataPage is accepting the external parameter [@Task]. I have tried referencing the field in an HTML block using [@field:Virtual1] and [@cbParamVirtual1] and [@field:cbParamVirtual1] but nothing is showing up. I am hoping it is something simple...

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @ray,

You cannot reference fields in HTML block in the submission form. 

You can, however, receive external parameter [@Task] in HTML block  and apply to style in there e.g. :

<span style="color:blue">[@Task]</span>

Hope this helps.

Regards,

vitalikssssss

Share this post


Link to post
Share on other sites
  • 0

Thanks much Vitaliksssss. I received the external parameter in the HTML Block and added CSS to the Caspio style I am using via the Style Source editor. 

Share this post


Link to post
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...

×
×
  • Create New...