Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4260912
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:59:01+00:00 2026-05-21T05:59:01+00:00

I have this situation where on my main page, there are different fields and

  • 0

I have this situation where on my main page, there are different fields and some of the fields in div are getting their values from Billing page.

So on my main page, I have something like:

<span class="label">
    <form:label path="billingInfo.contractTerm" cssClass="normalText"
        cssErrorClass="normalTextRed" >Contract Term Length (months):</form:label>
</span>
<span class="formw">
    <form:input path="billingInfo.contractTerm" cssClass="normalField"
        cssErrorClass="validationError" size="25" disabled='false'/>
</span>

Now if value for contract term is not present on billing page then on my main page, am getting {,} in the box but I do not want to show that to end user, is there a way I can just keep it blank, also I want to understand as to why it gets value {,} if values are not present on billing page for that field.

Any guidance and explanation would really help as I am trying to understand this situation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T05:59:02+00:00Added an answer on May 21, 2026 at 5:59 am

    Issue here was I had two entries

    <span class="label">
            <form:label path="billingInfo.contractTerm" cssClass="normalText"
                cssErrorClass="normalTextRed" >Contract Term Length (months):</form:label>
        </span>
        <span class="formw">
            <form:input path="billingInfo.contractTerm" cssClass="normalField"
                cssErrorClass="validationError" size="25" disabled='false'/>
        </span>
    

    For each different div and in my controller there was binding issue which gave rise to error mentioned. Finally I got rid of it and its working as expected.

    <span class="label">
            <form:label path="billingInfo.contractTerm" cssClass="normalText"
                cssErrorClass="normalTextRed" >Contract Term Length (months):</form:label>
        </span>
        <span class="formw">
            <form:input path="billingInfo.contractTerm" cssClass="normalField"
                cssErrorClass="validationError" size="25" disabled='false'/>
        </span>
    

    Updated so if someone has similar issue then they can take pointer from this answer to not have duplicate ids instead create a new id or have refer to single id in different divs.

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this page page If you go there you will see products and
So, I have this situation where I need to see if an object is
During coding I frequently encounter this situation: I have several objects ( ConcreteType1 ,
The situation is this: You have a Hibernate context with an object graph that
This is often situation, but here is latest example: Companies have various contact data
I know questions of this kind have been asked before, but my situation differs
I have somehow misconfigured fingers. This leads to a very annoying situation. I select
Here is the situation. This small company I'm working with wants to have a
I have a really weird situation. The idea is there is a scroller that
Its difficult to explain this situation but please see the example. I have coded

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.