We are not getting any error when we enter the cheat codes? Also, I'm fully aware that textbox doesn't take those arguments, seems like a mistake from one of our team member. I'll make sure it gets removed in next update. Asked him to remove the "cheat code here" as the text because people would not understand that they need to remove it before entering the cheat code. And would just paste the cheat code after.Vln_ You have some mistakes in your code. (You really should know this)
Code as is:
- A macro cannot have the HTML attribute "placeholder"
- A macro cannot have the HTML attribute "style"
but should be:HTML:<<textbox "_testcode" "" placeholder="Cheat code here" style="background: rgb(85 85 129 / 25%);font-size: large;font-weight: 600;">>
Hence the reason people get an error when clicking the "Enter" key after entering a code because the macro takes the placeholder as the third argument. The "Enter" key should only work when a third argument is used.HTML:<<textbox "_testcode" "Cheat code here">>
e.g.
Arguments:HTML:<<textbox "_testcode" "Cheat code here" "Passage-name">>
If you'd like to add a placeholder and/or inline styling to the
- receiverName: The name of the variable to modify, which must be quoted—e.g., "$foo". Object and array property references are also supported—e.g., "$foo.bar", "$foo['bar']", & "$foo[0]". In this case "_testcode"
- defaultValue: The default value of the text box. In this case "Cheat code here"
- passage: (optional) The name of the passage to go to if the return/enter key is pressed. May be called either with the passage name or with a link markup.
<<textbox>>
macro you may want to use the<<attr>>
and/or<<style>>
macro,You must be registered to see the links, however, the inline style is redundant since the<<textbox>>
is already styled with CSS.
e.g.
I did post this before but you either didn't notice or you simply don't care?HTML:<<attr "placeholder" "Cheat code here">><<textbox "_testcode" "">> <</attr>>
Also, when I don't notice your post or do not answer it, it's not that I don't care, we just get so many messages from different sources that sometimes I miss some of them. Will add a card to get it fixed on trello. We are always thankful to people who report problem and try to fix the issues in the game when we notice them.