3 Replies Latest reply: Apr 7, 2014 7:42 AM by Asad 6SM RSS

    Hidden Field in Forms

    Asad 6SM Community Member

      Hi All,

      I am trying to create a form that will hide the page title from the user but show it in the email that is sent to the person on the workflow.

       

      <input type="hidden" name="{module_pagename}" value="{module_pagename}" /> 


      <input type="tel" name="WorkPhone" id="WorkPhone" class="cat_textbox" maxlength="255" placeholder="Your Contact Number? *" />

      <textarea name="CAT_Custom_28531" id="CAT_Custom_28531" cols="10" rows="4" class="cat_listbox"

      onkeydown="if(this.value.length&gt;=4000)this.value=this.value.substring(0,3999);" placeholder="How can we help you?"></textarea>

      <input class="button radius small" type="submit" value="Submit" id="catwebformbutton" />

      <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>

      <script type="text/javascript"> //<![CDATA[ var submitcount50615 = 0;

       

       

      I am using the code above and the page title does not render when I check the code after the page loads. It doesnt show in the workflow notification either.

      Can anyone advise on how i would do this?

      Many Thanks

      Asad Ali