This topic contains 11 replies, has 0 voices, and was last updated by christopheryang 8 years, 1 month ago.

  • Author
    Posts
  • #2546

    christopheryang

    Hello:

    We’ve set up a custom HTML form on our contact us page but the field widths don’t match. Does anyone know of a quick way to set them up so they line up properly? aligning the data within the table does not appear to solve the problem. any assistance would be greatly appreciated!
    This is a cached copy. Click here to see the original post.

  • #2547

    k_dunc

    Hi Christopher,

    Is your Custom HTML Form an Online Customer Form (I don’t believe so because I don’t think you can create custom HTML with these)? If so, you can set the Width directly in the Select Fields subtab.

    Perhaps you’re using a Marketing Template, and you’ve created an Online Form Template? If so, I’m assuming you’ve created an HTML file and linked it in the “File” field of the Template subtab? If that’s the case, then perhaps in your HTML you should use the ‘size’ attribute for your input field. Have you tried that?

    Finally, maybe you’re using a Custom Record and its associated Online Custom Record Form? If that’s the case, then set the field width in the Online Custom Record Form’s Select Fields subtab and be sure to call the field’s ID in your HTML code.

    I hope that helps.

    Cheers,

    Kirk.

  • #2548

    christopheryang

    Thanks Kirk, that worked, except for the field widths of the drop down menus. Do you know if it is possible to adjust those as well?

    I also need to make the form responsive. I’d like to have it setup so that below a certain width, the form is a top-label form; between say 600 and 1200 pixels, I’d like it to be left label, and then from 1200 on it should be right label.

    Is that something we can do easily?

  • #2549

    k_dunc

    Hi Christopher,

    I believe NetSuite automatically adjusts the width of the drop-down fields depending on the width of the results contained within the drop-down list.

    Regarding a ‘responsive form’, yes you absolutely can. Depending on how good your HTML skills are, you basically have full reign over how the form looks and operates (so long as you use the Custom HTML Online Form feature – and not NS’s standard online form). You therefore may need to put code in there to get the ‘screen.width’ and / or ‘screen.height’ and then set up the look of the form accordingly.

    Good luck with that. Cheers,

    Kirk.

  • #2550

    christopheryang

    Thanks Kirk! Do you know if it’s possible to assign percentages to field widths within NetSuite, instead of characters?

    Also, does anyone here feel like offering up pointers or tips on how to improve the form we’re currently using?

    As you might have guessed, we relied on consultants to build out our site but are hoping to take on more of the development and coding burden. This might be a huge mistake, by the way.

  • #2551

    k_dunc

    Hi Christopher,

    Couple question for you: what type of Online Form are you using? Is this a Custom Record? Given that you have a file upload, I’m guessing it’s an Online Case Form?

    Thanks heaps.

  • #2552

    christopheryang

    Originally posted by k_dunc

    View Post

    Hi Christopher,

    Couple question for you: what type of Online Form are you using? Is this a Custom Record? Given that you have a file upload, I’m guessing it’s an Online Case Form?

    Thanks heaps.

    Yes that is correct, it’s an online case form.


    k_dunc replied on 10/04/2016, 05:22 PM: Yes, thought as much. Thanks for clarifying.

  • #2553

    christopheryang

    Here’s another form we might use:

  • #2554

    k_dunc

    And again, that would be an Online Case Form right (because you have the upload file feature)? Only reason I ask specifically, is because steven_stewart has raised a question regarding the file upload feature, and as far as I was aware, this is only available in Online Case Forms.

  • #2555

    christopheryang

    correct; you can also tell it’s a case form from the “type of inquiry” drop-down, which is the NLCATEGORY tag.

  • #2556

    christopheryang

    Here’s something:

    Within the form, NetSuite allows you to adjust widths for its field tags (NLFIRSTNAME, NLLASTNAME, etc.). How does one make these fields responsive? Is that possible? And is this possible for drop-down menus as well?

  • #2557

    christopheryang

    So am I stuck with the field width formatting here? Does anyone know if I can make them larger and responsive? Currently, they have a set width in NetSuite.

You must be logged in to reply to this topic.