PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Placeholder text, not disappearing + user-editable

  1. Hi,

    I am setting up a webform for online ordering of trademarks. Short background: Trademarks are organized in 45 classes, each comes along with a "general class description", i.e.

    Class 35
    Advertising; business management; business administration; office functions.

    Now some people may want to only register their trademark for lets say "Advertising" while others may want to add more specific words.

    Depending on how many classes the user checks positive, the official trademark fee increases in the following way: 1-3 classes cost 300,00 €, every additional class in 100,00 € extra, i.e. 5 Classes = 500,00 € or 2 Classes = 300,00 €.

    1. Question: Is it possible to create user-editable text fields with non disappearing Placeholder text (Placeholder=General class Description)? Which function do you recommend?

    Parallel the amount of positive checked classes must to be connected to the official fee costs. I want to display the individual costs inside the ordering process, so Users know the live-calculated costs prior to checkout.

    2. Question: Any suggestions on how to define a formula regarding this connection?

    Looking forward to your answers. Cheers

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  2. PS. One more word to clarify my aim: The ideal solution would be 45 checkboxes, each with its general class description - once checked by user the text should be editable for the user. Be great if this is possible..

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  3. Regarding your last word: checkbox values are not editable by the visitor on the front end.

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  4. Thanks for your quick response Chris.

    Actually I am not focused on the checkbox function at all, that was just my guess. I am pretty new to GF, that's why I may have used wrong technical terms in the description. My point is: Do you see any other way to solve the problem or do you know posts, where a similar problem was discussed previously?

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  5. I got hung up on the end goal there. I figured if that were not possible why spend time on the rest. Let me reread the earlier questions and provide some advice.

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  6. Cool, thanks man!

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  7. Maybe this testsite (http://www.ra-plutte.de/test/) helps to understand what i am looking for. Basicly its about three things.

    1. Users can choose out of 45 text fields, which class (=text field) they want to use for their trademark registration

    while

    2. they are able to edit the text inside the fields (now that i know checkboxes are not editable, i am looking for a comparable function).

    3. The number of positively "checked" fields has to correspond with the actual trademark fee, like i described it above. Probably i need to implement a background-calculation.

    The function is:

    User picks 1, 2 or 3 classes = 300,00 € (basic fee)
    Every extra class = 100,00 € (additional fee)

    (i.e. 1 class = 300,00 € / 3 classes = 300,00 € / 5 classes = 500,00 €)

    On all three issues i need held. And please excuse my poorly description. I am not quite fully into GF yet - but will be soon ;)

    Posted 9 years ago on Thursday October 25, 2012 | Permalink
  8. I combinded text and checkbox using html like this:

    <script src='http://pastie.org/5116025.js'></script>

    Looks like issues 1. + 2. are generally working with. Yet i still need advice on the formula (see above). And is there a way to change textsize and style inside the <textarea> tag, maybe even without CSS which i am not familiar with? The predefined text comes out tiny in my form on:

    http://www.ra-plutte.de/online-markenanmeldung/
    PW: npl2012

    Posted 9 years ago on Thursday October 25, 2012 | Permalink