WPIntell

Source evidence

Executing JavaScript allowing users to enter parameters

CodeMirror Blocks · support · 2023-03-29T16:37:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 35 rows with source links

14.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

30 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
kjetilk unresolved
I suppose I’m rather a noob, but I have the Codemirror block installed. I want the code just for an illustration for some users, but I want to make it possible for them to enter just a couple of integers, and then execute the code that they see with those integers as input parameters, and display a result. I made a CodeMirror block and just for testing, I wrote alert(“foo”) into that block. When I click on the execute button, it says It Execute Code on Front End This button will work only on front end! and then, I don’t understand what Front End means in this context, I tend to think of the browser as the front end… Can I achieve what I set out to do? I got a step further. When I previewed, clicking on the execute button printed alert(“foo”) in the box below, so I suppose that what’s front end mean in this context. Makes sense. I haven’t gotten the code to run, though… Hello @kjetilk , It is experimental feature. So, we can’t provide more support on them…

Comments

2 shown
kjetilk 2023-04-02T22:15:00+00:00

I got a step further. When I previewed, clicking on the execute button printed alert(“foo”) in the box below, so I suppose that what’s front end mean in this context. Makes sense. I haven’t gotten the code to run, though…

Vicky Agravat 2023-04-04T11:41:00+00:00

Hello @kjetilk , It is experimental feature. So, we can’t provide more support on them…