Giter VIP home page Giter VIP logo

Comments (10)

kevinchappell avatar kevinchappell commented on June 6, 2024

Oh man, that was actually a feature. In previous versions the name attribute could only be revealed with the hidden developer tools. I'll send the needed css to hide them when I get to my computer.

from formbuilder.

Jos1k avatar Jos1k commented on June 6, 2024

Could you please share this css for me too please?

from formbuilder.

kevinchappell avatar kevinchappell commented on June 6, 2024

I think the simplest way to do this would be:

.frm-fld.name-wrap,
.frm-fld.access-wrap,
.save-btn-wrap,
.view-xml {
  display: none;
}

Updated for accuracy after PR #18

from formbuilder.

dannycamps avatar dannycamps commented on June 6, 2024

This works. Can you also tell me how to hide the "Access" option as well (e.g. Access should be granted to the following roles)? Also any way to hide the actual label in addition to the text boxes?

from formbuilder.

kevinchappell avatar kevinchappell commented on June 6, 2024

@dannycamps I realized after posting the first solution. I updated my original comment to account for labels and access field.

from formbuilder.

dannycamps avatar dannycamps commented on June 6, 2024

Thanks - works perfectly.

Just a minor correction for future reference:
The CSS for the name field is .frm-fld.name_wrap

Thanks,
-Daniel

from formbuilder.

kevinchappell avatar kevinchappell commented on June 6, 2024

@dannycamps name_wrap was changed to name-wrap in the latest update.

from formbuilder.

dannycamps avatar dannycamps commented on June 6, 2024

Hi Kevin,

Hope you're doing well. I just updated my code to the latest posted version (1.9.23) from the previous version I am using (1.35). Incredible progress made on the project and lots of improvements.

That being said, I am having an issue - the previous CSS code I was using to hide certain elements is no longer working.

I need to hide the following items on screen:
Placeholder
Class
Name
Access
View XML button
Save button

Can you please tell me how I can hide those items?

Thanks,
-Daniel

from formbuilder.

kevinchappell avatar kevinchappell commented on June 6, 2024

Sorry for the breaking changes, this css should get you on your way.

.form-elements .placeholder-wrap,
.form-elements .className-wrap,
.form-elements .access-wrap,
.form-elements .name-wrap,
.form-actions .view-data,
.form-actions .fb-save {
  display:none;
}

Demo

from formbuilder.

dannycamps avatar dannycamps commented on June 6, 2024

Yep - worked perfectly.

Thanks,
-Daniel

from formbuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.