Jump to content

Search the Community

Showing results for tags 'input'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • WHMCS Beta Program
    • WHMCS 9.1 Beta Discussion
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
    • MarketConnect Partner Product Status Updates
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics
  • RactStudio Club's Topics

WHMCS Version

  • V8.13.x Hotfixes
  • V8.12.x Hotfixes
  • V8.11.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. Hello WHMCS community, I need to assign values via the url parameters that come from my corporate website's order form to the input fields found in the configureproduct.tpl, in whmcs portal. Currently, all values are carried over from my corporate site to my whmcs portal except for the input fields of hostname, ns1 prefix and ns2 prefix. Now, I can see through the dev tools that the fields of hostname, ns1 and ns2 have their values assigned in the url parameters as the rest of the values that are carried over that refer to configoption ids: From my corporate site: the url parameters sent to WHMCS portal: In addition, I customized the hostname input field to have a value auto-assigned based on $smarty.now|date_format:'%Y%m%d%H%M%S' whenever the input submitted (through the url parameter or not) to the said field is null. My approach on this in regards to configureproduct.tpl can be seen in the following lines for the input field of hostname: <input type="text" name="hostname" class="form-control" id="inputHostname" value="{if empty($smarty.get.hostname)}VL{$smarty.now|date_format:'%Y%m%d%H%M%S'}{else}{$smarty.get.hostname}{/if}"> Unfortunately, Smarty insists on acknowledging the URL parameters of those three input fields as null or empty. And thus, I get the following result in WHMCS portal: Ι have also tried implementing these through $smarty.get.variablename, $smarty.request.variablename as well as by assigning the values via the following script: {assign var="hostname" value="{$smarty.get.hostname}"} {assign var="ns1prefix" value="{$smarty.get.ns1prefix}"} {assign var="ns2prefix" value="{$smarty.get.ns2prefix}"} Any aid you can provide on this will be much appreciated. Kind regards, Ioshf.a
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated