This topic is locked
[SOLVED]

 HTML / Designer Mode

7/28/2019 12:28:35 PM
PHPRunner General questions
lefty author

In the doucmentation for 10.0-10.2 , it shows insert HTML. I insert html and I get the whole code above the add page fields. How do I get the button for that html in the right spot I need to put it?

As you see all the html is above . In the example is shows a spot for the html ( An Example of Inserted Text ) , how do I add that spot to put the html next to a field name? I do not see an option to do this like the image attached.
[url="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=26613&image=1&table=forumtopics?width=1920&height=1080&fit=bounds"]Sample[/url]

HJB 7/28/2019

https://xlinesoft.com/tutorials/RunnersAndCurrentWebsite.htm
John, for inspiration purposes only, on how and where to get HTML

be injected and shown at wished location. Sure, it's a kind of "back

to the roots" workaround, using the old EDITOR, yet saves time and energy

and quickly gets you to the next problem, if any, to get somehow solved.

lefty author 7/28/2019



https://xlinesoft.co...rentWebsite.htm
John, for inspiration purposes only, on how and where to get HTML

be injected and shown at wished location. Sure, it's a kind of "back

to the roots" workaround, using the old EDITOR, yet saves time and energy

and quickly gets you to the next problem, if any, to get somehow solved.


Thanks,

Walk2fly, I actually tried that the new versions don't like it , I get the actual variable in editor in the middle of nowhere that I don't want it. This has been a big

change for me from 2005 to till 10.02 and the new documentation doesn't necessarily say where to put the html code . they would show the documentation for html but not how to put the corresponding button or field matching it in the add/edit page , But thanks for your suggestion. anyway . IT's actually code from an older blog on Combined Validation that is from an older version , how to convert , ( who knows , not many ) .

maybe I will try to accomplish this in 9.8 then copy the html to 10.2 . Good Day.

Sergey Kornilov admin 7/29/2019

In my tests it shows HTML exactly where it needs to be.
Show us the following full-page screenshots:

  • where you insert HTML snippet
  • what code you put there
  • what happens in generated application

lefty author 7/30/2019



In my tests it shows HTML exactly where it needs to be.
Show us the following full-page screenshots:

  • where you insert HTML snippet
  • what code you put there
  • what happens in generated application


Solved, Used in Html / editor. I was confused by the screenshot in documentation showing two fields with html in page designer. One above and then another button below like my sample above.

I needed to add a variable inside so editor I guess is the best way to accomplish this.
From Sample - Combined Validation. Thought I could put this in designer mode. Used editor mode.

  • <TD class="runner-cc alt runner-fixedcell">
  • <DIV class="fieldcontrol_email {$fielddispclass_email}">{$email_editcontrol}</DIV>
  • <DIV id=email-message></DIV></TD>